I know you can use the “Inset” property in Interface Builder to make a scroll view be inset from the main window so that it doesn’t go below existing controls on the screen such as a tab bar, but how can you do this programmatically to adjust for when a keyboard is added to the screen? Currently my scroll view has cells under the keyboard that can’t be reached because the view is still registering the bottom of the scroll view as the bottom of the phone, not the top of the keyboard.
Share
1 Answer