ios - Back button still enabled when using popover in navigation bar -



ios - Back button still enabled when using popover in navigation bar -

i have navigation controller master-detail view. detail view's navigation bar shows button on left , utilize uibarbuttonitem uipopovercontroller on right additional features.

the right button correctly displays popover , pressing anywhere in view dismiss popover.

my problem that, when popover active, navigation bar button still active. when user tries dismiss popover , presses on bar button, navigation controller unwinds master view , popover still visible!

i tried placing popover on uibutton within view instead of navigation bar, , there behavior expected: if seek close popover pressing anywhere, on navigation button, closes popover (instead of calling button , unwinding master view)

in either case, used story board create popover command dragging button (uibarbutton or uibutton) target view controller.

is expected or doing wrong ??

thanks!

when uipopovercontroller presented uinavigationbar or uitoolbar bar added it's passthroughviews property default.

clearing property on load/appear of uipopovercontroller should prepare problem.

ios objective-c popover navigationbar

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -