开发者

Weird Keyboard behavior when the device rotates

This is something that happens to me rea开发者_StackOverflowlly often. I have a textfield in a table view cell, when I try to edit the textfield the keyboard appears, and when I rotate the device from landscape to portrait, this is what I get.

Any ideas? Thanks in advance.

Weird Keyboard behavior when the device rotates


Thank you for the uncountable amount of comments and answers jejejeje apparently this was my mistake.

This behavior occurs when you have a focused textField into a cell, and force table to reload using [tableView reloadData]; on a rotation event, like shouldRotateInterfaceOrientation: or didRotateFromInterfaceOrientation:

hope this helps to someone.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜