© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. NekrasovSwift Recipes for iOS Developershttps://doi.org/10.1007/978-1-4842-8098-0_6

6. Text Editing

Alexander Nekrasov1  
(1)
Moscow, Russia
 
Another important aspect of iOS development is text editing. On mobile platforms, adding text inputs is particularly difficult because of several complications:
  • The on-screen keyboard appears when you enter UITextField. It can hide other UI elements or even the text field itself.

  • The on-screen keyboard doesn’t disappear itself. In some cases, it can follow you to another screen.

  • The on-screen keyboard has different heights on different devices. Even if you know the sizes for all existing models, new iPhones or iPads will ...

Get Swift Recipes for iOS Developers: Real-Life Code from App Store Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.