title: Dismiss popover view by pressing on a button on content view
body: <p>I am implementing a settings view which be loaded as a content view of a popover controller in the main view, and the problem is:</p>
  
  <p>There are 2 buttons on the settings view: Cancel and Done which are to abort or save and apply changes, and then dismiss the popover view, I already pass the popoverController instance from main view to the settings view and then call:</p>
  
  <p>[popoverController dismissPopoverAnimated:YES];</p>
  
  <p>But nothing happen, the popover view still visible until I tap somewhere outside of it. I already search on the internet but not found answer yet.</p>
  
  <p>Does anyone know how to do this please help me!</p>