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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With