Thanks for the tip. That's exactly what I'm doing, and I just found the documentation that warns against this.
On this page, it says:
A navigation controller automatically assigns itself as the delegate of
its navigation bar object. Therefore, when using a navigation
controller, don’t assign a custom delegate object to the corresponding
navigation bar.
There are places where I need to pop multiple levels off the nav bar stack, so I was pointing the delegate at my view controller and implementing shouldPopItem to add an extra "pop" where needed. I'll have to figure out a different way to achieve this.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: