title: iPad: Dismiss popover when button in navbar is tapped
body: <p>I have a navigation bar that contains multiple buttons, including a back button, edit button and a button that opens a popover.</p>
  
  <p>When the popover is open and the user taps any of the other buttons, I want the popover to close. I could try to detect every tap on all the buttons and intercept the action if the popover is open but I though there might be a more elegant option. It works with taps on all items that are not inside the navbar, only button in the navigation bar don't dismiss the popover.</p>
  
  <p>Any suggestions?</p>
  
  <p>My question is very similar to <a href="https://stackoverflow.com/questions/6136792/uipopovercontroller-does-not-dismiss-when-clicking-on-the-navigationbar">UIPopoverController does not dismiss when clicking on the NavigationBar</a> but I don't seem to have a way to ask the author if he solved the problem.</p>