我有以下问题:我已经覆盖的UINavigationController
popViewControllerAnimated:(BOOL)animated
,因为我想有一个自定义动画。代码如下:防止UINavigationBar的popViewController动画
- (UIViewController *)popViewControllerAnimated:(BOOL)animated
{
UIViewController *poppedCtrl = [super popViewControllerAnimated:NO];
[((customViewController *) self.topViewController) doCustomAnimation];
return poppedCtrl;
}
不幸的是,UINavigationBar
似乎忽略了我明确的禁止动画内置而且还在动画。
我有什么做的,还可以防止导航栏的动画?
任何理由,这种行为不也为pushNavigationItem工作:......? – horseshoe7 2014-01-22 15:59:42