Is it possible to check when the back button is pressed in a UINavigationController stack? I've tried adding a action and target to self.navigationItem.backBarButtonItem to no avail.
Anyone have any solutions?
Is it possible to check when the back button is pressed in a UINavigationController stack? I've tried adding a action and target to self.navigationItem.backBarButtonItem to no avail.
Anyone have any solutions?
Make some object the delegate of the navigation controller's navigationBar and implement the -navigationBar:didPopItem: or -navigationBar:shouldPopItem: methods in the UINavigationBarDelegate protocol.