title: Scroll the table view to the pop over-presenting text field when keyboard fires up by a text field inside the pop over
body: <p>I have a <code>UITableViewController</code> with many cells, each cell contains four text fields vertical on each other, 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 dimmed view), the <code>tableViewController</code> loses its correct scrolling behavior to keep the pop over presenting-textField on the track while the keyboard is visible ..</p>
  
  <p>a sample project <a href="https://dl.dropboxusercontent.com/u/57066689/test57.zip" rel="nofollow noreferrer">can be downloaded here</a>.</p>
  
  <p>how can I offset the table view to keep the pop over presenting-textField on screen while keyboard is visible in this case ?</p>
  
  <p>I tried the well-known <code>TPKeyboardAvoiding</code> library but it didn't solve the issue.</p>
  
  <p>p.s. <code>tableViewController</code> works well for the first 3 or 4 keyboard firings, but loses precise scrolling on later attempts.</p>
  
  <p><strong>Screenshot</strong> (the green text field is the text field which presented the pop over, but <code>tableViewController</code> scrolls to the incorrect text field indicated in red):
  <img src="https://i.stack.imgur.com/fag40.png" alt="enter image description here"></p>
  
  <p>any help would be highly appreciated.</p>
  
  <p><strong>EDIT:</strong>
  this question is not a duplicate for: <a href="https://stackoverflow.com/questions/594181/making-a-uitableview-scroll-when-text-field-is-selected">Making a UITableView scroll when text field is selected</a>
  because the text field that I need the table view to scroll to is the one that fires a pop over not a keyboard, and <code>scrollToRowAtIndexPath</code> does not work precisely in this case because each cell contains 4 text fields.</p>