Execute action when back bar button of UINavigationController is pressed Execute action when back bar button of UINavigationController is pressed xcode xcode