系统的UINavigationController滑动返回时,会调用哪个方法?

从iOS7以后,支持手势返回,当手势返回时,会调用哪个方法?

UINavigationController 的 - (UIViewController *)popViewControllerAnimated:(BOOL)animated 方法,
还有 委托方法

  • (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated 都会被调用