views:

25

answers:

1

This is something that happens to me really 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.

IMG_0119

A: 

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.

Omer