开发者

How do I adjust my content views so that they are not obscured by the keyboard?

When the keyboard slides up in my iPhone applica开发者_如何学Ction, it obscures a large portion of the screen. How do I adjust my views so that they are not hidden under the keyboard?


You'll find nice code for that here. Just go to the section called : Moving Content That Is Located Under the Keyboard

You can use and adapt what the documentation said to move your view when the keyboard is visible.

Hope this helps !


I usually move up my whole UIView so you can see both keyboard and textfield

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜