• Home
  • About
  • Our Apps
  • Learn
  • Contact
Login

Register

Login
Seemu Apps Seemu Apps
  • Home
  • About
  • Our Apps
  • Learn
  • Contact

Swift – Hide Autocorrect Keyboard bar

Home ios Swift – Hide Autocorrect Keyboard bar

Swift – Hide Autocorrect Keyboard bar

Feb 26, 2017 | Posted by Andrew | ios, swift, tutorial, xcode |

Hiding the auto correct keyboard bar is simple in Swift, you can modify the text field to not show it on certain inputs. This is useful for fields such as first name and last name, where by autocorrect will only cause user headache when it changes their name.

To modify a textfield to not show the bar, add in the following line of code:

yourTextFieldName.autocorrectionType = .no

Now when you type in the text field instead of seeing this:

You will now see the autocorrect bar is gone as follows:

Happy coding!

Tags: autocorrectbarKeyboard
2
Share

About Andrew

Andrew is a 24 year old from Sydney. He loves developing iOS apps and has done so for two years.

You also might be interested in

Tutorial – Custom Navigation Bar Back Arrow

Mar 23, 2016

You can simply set the Navigation Bar back image style with[...]

Stop Keyboard Sounds When Recording

Oct 6, 2017

Isn't it the worst when you record a game or[...]

Tutorial – Set UINavigation Bar Title Image

Mar 23, 2016

Making the UINavigation bar have a title image of your[...]

Welcome

Hi I am Andrew and welcome to Seemu Apps! Have a look around, we provide tutorials for primarily iOS apps.
Bluehost website hosting discount

Seemu’s Studio Setup

Blue Yeti Microphone
Rode Stand
Spider Shock Mount
Mac Keyboard Cover
Screenflow - recording software

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Footer

:)

© 2025 · Your Website. Theme by HB-Themes.

  • Home
  • About
  • Our Apps
  • Learn
  • Contact
Prev Next