Q:

UIPopoverController does not dismiss when clicking on the NavigationBar

When clicking on a rightBarButton, a UIPopoverController will present.  
The problem is: when clicking on the NavigationBar, this UIPopoverController does not dismiss. 
Why?  And is there a way to resolve it? 
I have tried to search, but can't find anything about this.  
Thanks in advance. 

A:

UIPopoverController seems to add the navigation bar to its passthroughViews array when it is presented.  I was able to solve the problem by re-setting passthroughViews to an empty array immediately after presenting the popover. 

A:

When launching from a bar button you can simply do this
[popoverController presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
[popoverController setPassthroughViews:nil];

