NavigationControllerCustomBackAction Project shows how to attach custom backAction on UINavigationController.