Keeping the keyboard from obscuring widgets in a form
Posted
by synic
on Stack Overflow
See other posts from Stack Overflow
or by synic
Published on 2010-05-14T16:22:47Z
Indexed on
2010/05/14
16:54 UTC
Read the original article
Hit count: 140
iphone
In an iPhone app, how do I keep the software keyboard from obscuring buttons, or UITextView fields in a View?
I've got the following layout:
View -\
UITextView
UIButton
... but, the keyboard obscures the button at the bottom when I'm typing in the UITextView. I tried using the following:
View -\
UIScrollView -\
UITextView
UIButton
... but, the window does not scroll as expected, so the user has no way of clicking the button.
How is this normally handled?
© Stack Overflow or respective owner