Maybe this is a recurrent question, but I got stuck with this issue and some iOS concepts. I have a ViewController with a Static Table View, Three Sections and some Rows on Each Section. Inside the rows I have UITextFields. What I’m trying to do is preventing the keyboard to hide my bottom screen UI Text Fields. I’ve just tried an apple solution from Managing the Keyboard, but since I’m not getting the concept behind the scroll view attached to a static table view, I couldn’t implement the idea into my project. Do you guys recommend anyplace to learn it? Sorry if couldn’t explain what I’m trying to do. I’m a little lost.
Any help will be appreciated.
Many thanks,
Marcos.
I’ve had to do something similar, here’s my code, hopefully it helps you.
Also, make sure to set your notification observers when loading your view, like this:
Just define activeTextField as a UITextField and make sure everything you want to move is contained in your scrollView (in your case you can probably change your viewController to a scrollView). Also, make sure your scrollView’s contentSize is at least self.bounds.size.
Hope this helps.