popToViewControllerAnimated自ios5起没有动画 [英] popToViewControllerAnimated does not animate since ios5
问题描述
如主题所述,调用 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上运行的所有应用程序,pop-animations已经不见了。然而DO出现动画。
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?
欢迎任何帮助,谢谢!
推荐答案
好的,调用[super viewWillAppear]在viewWillDisappear中有点......我的坏!
Okay, calling "[super viewWillAppear]" in "viewWillDisappear" is sort of ... my bad!
这篇关于popToViewControllerAnimated自ios5起没有动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!