Alex Rivera | Logout

UIPopoverController does not dismiss when clicking on the NavigationBar

Asked 2011-05-26T10:00:40.143
17

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.

Edit
Report

1 Answer

0

This is expected behavior as far as I can tell. The popover on the bookshelf in iBooks behaves like this. Retain a reference to the popover when you present it, and then dismiss it if any of the buttons in the navigation bar are tapped.

answered 2012-02-25T07:39:14.853

Your Answer