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.
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.
精彩评论