开发者

Iphone custom cell keyboard overlaps

i have a TableView with开发者_开发技巧 custom cells that i have built with Interface Builder.

Inside the cell, i have a label and a text field. But when i click on the text field to write, the keyboard overlaps the text field and i can't see what i am writing.

How can i avoid this?

Thanks


You have to resize the view containing the tableview when keyboard is shown. The way you can do is discussed here, How to make a UITextField move up when keyboard is present?

You can search in Stackoverflow more on 'iphone keyboard hides textview'.

after resizing view, you can scroll table to the current cell too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜