title: display popover when user click into text field?
body: <p>Hi i have been following a book a how to display the popover when the user clicks on a toolbar button item. It works fine but I want to display the popover when user clicks into a textField. It seems like it would be some minor adjustment. Like changing the IBAction 
  "showPopover" method a bit. This is what the code looks like for that method:</p>
  
  <pre><code>- (IBAction)showPopover:(id)sender{
  
      if(popoverController == nil){   //make sure popover isn't displayed more than once in the view
          popoverController = [[UIPopoverController alloc]initWithContentViewController:popoverDetailContent]; 
  
      [popoverController presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
      popoverController.delegate = self;
      }
  }
  </code></pre>
  
  <p>There is a another instance method other than "presentPopoverFromBarItem" that is called 
  "presentPopoverFromRect".Would I use that instead? I tried to write the code for it but I'm not sure how to relate it to my TextField or how draw the rectangle needed.Can anyone help me with this?Thanks.</p>