lundi 29 décembre 2014

scroll to active text field in a UITableViewController that presents a UIPopover

I have a UITableViewController with many cells, each cell contains two text fields, a pop over is presented by tapping on any text field, however, this pop over contains a text field when tapped the keyboard is fired and most likely the pop over will be shifted up to prevent the keyboard from hiding its text field (this is the default behavior of the pop over), but in the background, the tableViewController loses its scrolling offset to keep the pop over presenting-text field appear on screen while the keyboard is visible ..


a sample project can be downloaded here.


how can I offset the table view to keep pop over presenting-text field on screen while keyboard is visible in this case ?


any help would be highly appreciated ..




Aucun commentaire:

Enregistrer un commentaire