Move Up The TextField When The Keyboard Blocks It
When you have a long form, sometimes the iOS virtual Keyboard slides up and hides the UITextField.

Unfortunately it’s up to the programmer to handle this case and animate or move the textfield out of the way.

In this video, you’ll learn how to find the height of the keyboard so that you can move the uitextfield (or any other control for that matter) above the keyboard.

The Xcode Project and Source Code for this video can be downloaded from here:

This video uses the latest and greatest from Apple (Xcode 8, Swift 3, iOS 10).

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!


CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 3, Xcode 8 and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (