iPhone: UiNavigationController back button
iphone, uinavigationcontroller
Solution
`UINavigationBarDelegate` is the delegate class and it implements `-navigationBar:shouldPopItem`, since these controllers work in stacks you're just pushing or popping views. This will most likely always evaluate to true otherwise I feel a back button that does anything but pop a view controller will violate Apple's Human Interface Guidelines.
Problem
Possible Duplicate: How to tell when back button is pressed in a UINavigationControllerStack When I press the back button, what Delegate method is called?