Reputation: 137
I have come to an issue with iOS 7 that I dont know how to solve. I have multiple UItextviews that present a keyboard on touch. For iOS 6 the view scrolls up and the keyboard is shown underneath, but when i run it on iOS 7 the view gets pushed underneath the keyboard. I cant figure out why the view is getting pushed down in iOS 7. i dont have any code that handles iOS 7 different.
UITextView
iOS 6
i OS 7
Upvotes: 3
Views: 2111
Reputation: 57040
You should set contentInset
bottom
to the keyboard's height and then add some code to handle the view that is below the keyboard to be scrolled to visible.
Upvotes: 2