I created a UITableView that is of type UITableViewStyleGrouped . Then I created several different sections with several lines in each. On each of these lines, I created a custom UITableViewCell containing a UITextField . I also have one UITableViewCell that contains a UITextView .
I also implemented the UIToolbar , which appears on top of the UIKeyboard , which allows the user to navigate through the UITextField by pressing the previous or next .
The problem I am facing is twofold:
- I need the UITableView to scroll so that when the next
UITextField (or UITextView ) becomes the first responder, it is visible (even with the keyboard displayed). - If the
UITextField (or UITextView ) option is selected (without using the previous and next buttons), you must adjust it so that the field is visible above the keyboard.
I looked through many different guides, but none of them solved my problem. Any help you could offer would be greatly appreciated.
ADDITIONAL INFORMATION:
I am 100% sure that my application used all of this automatically, but I seem to have stopped doing it now, and I donβt understand why. Is there a reason why this could happen? Is there some kind of function or something that I may have changed that will destroy this behavior?
source share