MahmoudA
MahmoudA

Reputation: 137

UItextView iOS 7 issue

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

UITextView

iOS 6

iOS 6

i OS 7

iOS 7

Upvotes: 3

Views: 2111

Answers (1)

Léo Natan
Léo Natan

Reputation: 57040

See my answers here and here.

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

Related Questions