how to set UITableView's scroll position to previous Position in ios
<p>When Click on textfield in cell, then open key pad and scroll tableview.</p>

<p><code>textFieldShouldReturn:</code> call then tableview set Previous Position. How can I do this?</p>

<p><strong>My Tableview Scroll Code</strong> </p>

<pre><code>- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
{
  CGPoint point = [textField.superview convertPoint:textField.frame.origin toView:tblemailconfiguration];
  CGPoint contentOffset = tblemailconfiguration.contentOffset;
  contentOffset.y += (point.y - contentOffset.y - self.navigationController.navigationBar.frame.size.height); // Adjust this value as you need
  [tblemailconfiguration setContentOffset:contentOffset animated:YES];

  return YES;
}
</code></pre>