I’m curious about the automatic scrolling in the Notepad app when I start editing text that would otherwise be obscured by the keyboard. I understand what is happening in general: the app uses the cursor’s position, the keyboard height and some offset to scroll the notepad. However I’m unclear about exactly what objects/values are changing.
What is happening in regards to frames, bounds contentOffsets etc?
Edit: I’m interested in how this automatic scrolling works in general. Notepad app is just a good example.
This is described in Text, Web, and Editing Programming Guide for iOS: