问题描述
如主题所述,调用 popToRootViewControllerAnimated
/popToViewControllerAnimated
不再做任何动画.
as topic describes, calling popToRootViewControllerAnimated
/ popToViewControllerAnimated
does not do any animation anymore.
我使用的代码在 4.x 上运行良好,很简单
the code I use, which works fine with 4.x, is simply
[self.navigationController popViewControllerAnimated:YES];
所以这里没有什么特别的.我刚刚注意到,对于我在 iOS5 上运行的所有应用程序,弹出动画都消失了.但是会出现推送动画.
so nothing special here. I just noticed, that for all my apps, running on iOS5, pop-animations have been gone. push-animations however DO appear.
现在我想知道要搜索什么,是否需要定义该动画的过渡/样式?
now i wonder what to search for, if there is the need to define the transition/style of that animation?
欢迎任何帮助,谢谢!
推荐答案
好吧,在viewWillDisappear"中调用[super viewWillAppear]"有点……我的错!
Okay, calling "[super viewWillAppear]" in "viewWillDisappear" is sort of ... my bad!
这篇关于popToViewControllerAnimated 自 ios5 起不再动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!