title: ipad - dismissing a UIPopoverController
body: <p>I have a button inside the content of a UIPopoverController. This button runs a method called myAction.</p>
  
  <p>MyAction has the form</p>
  
  <pre><code>- (void) myAction:(id)sender 
  </code></pre>
  
  <p>so, myAction receives the id of the caller button.</p>
  
  <p>Now, inside this method I would like to dismiss the UIPopoverController, but the only thing I have is the ID of the caller button. Remember that the button is inside the UIPopoverController.</p>
  
  <p>Is there a way to discover the ID of the UIPopoverController, given the button ID I already have?</p>
  
  <p>thanks.</p>