Textfield autocorrection issue
<p>I am facing a strange and weird problem related with the UITextField's Autocorrection. 
I have a class which is derived from UIScrollView(subclass from UIScrollView), containing some textfield, textview &amp; buttons at the bottom respectively. </p>

<p>I am facing a problem while i input some text in the textfield &amp; autocorrection bubble pops up. If i tap on the bubble to resign it &amp; tap on the button which presents the popover, it comes at correct dimensions. But if i don't disable the bubble and scroll up the view to tap the button, it pops up with wrong positions. </p>

<p>This is what i'm doing for presenting popover: </p>

<pre><code>- (void)presentImagePicker:(UIImagePickerControllerSourceType)type
             withAnimation:(BOOL)animated {
  if ([popoverViewController_ isPopoverVisible]) {
    [popoverViewController_ dismissPopoverAnimated:YES];
    return;
  }

  UIImagePickerController *picker =
      [[[UIImagePickerController alloc] init] autorelease];
  [picker setDelegate:self];
  [picker setSourceType:type];
  [[picker navigationBar] setTintColor:[UIColor bloggerBarColor]];
  UIPopoverController *popoverController =
      [self popoverWithViewController:picker];
  CGRect rect = CGRectZero;

  if (type == UIImagePickerControllerSourceTypePhotoLibrary) {
    rect = [[composeView_ addPhotoLibraryButton] frame];
  } else {
    rect = [[composeView_ addPhotoCameraButton] frame];
  }

  [popoverController presentPopoverFromRect:rect
                                     inView:[self view]
                   permittedArrowDirections:UIPopoverArrowDirectionAny
                                   animated:YES];
}
</code></pre>

<p>Thanks in advance.
Tarun</p>
