PROGRAMMING

iOS Tricks: Automatic Keyboard Handling

How to manage the keyboard automatically and forget about it.

Riccardo Cipolleschi
The Startup
Published in
6 min readJan 5, 2021

--

Every time we write an iOS app there is at least one screen where the user has to input something: their username and password to log in, their name in a game, a note, …

The keyboard handling is a basic use case but Apple forces us to manage it manually. This somehow annoys me so let’s see how we can automate this, once and for all.

How Does It Work?

--

--

Riccardo Cipolleschi
The Startup

Hey there, I’m Riccardo. Software engineer at Meta. I have a passion for iOS and I love to share my knowledge with others.