I have a UITableViewController that contains tables with cells that have a UITextField. When the keyboard comes up to add or edit text in those textfields, those fields must move up so they are not obscured by the keyboard. This should be handled automatically by the UITableViewController:
from Apple:
Note: A table view controller supports inline editing of table view rows; if, for example, rows have embedded text fields in editing mode, it scrolls the row being edited above the virtual keyboard that is displayed.
Could the problem be that I am using a SplitViewController, with the UITableViewController on the right side (the larger split) and another view on the left split.
What am I missing? Are there only certain situations in which the UITableViewController will handle this and not others?
I had this same issue. In my case I had forgotten to call:
[super viewWillAppear:animated];
See: UITableViewController not scrolling view when keyboard appears
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With