【问题标题】:Navigation Controller not animating in ios5导航控制器在 ios5 中没有动画
【发布时间】:2011-12-23 09:00:34
【问题描述】:

我正在使用以下代码弹出到根视图控制器:

self.navigationController popToRootViewControllerAnimated:YES

它工作正常,但即使当我通过 YES 动画时,IOS5 中也缺少动画(旧版本中没有问题)。

有什么想法吗??

【问题讨论】:

  • 你的导航/视图控制器结构是什么?
  • 标签栏里有你的VC吗?

标签: iphone xcode4 ios5


【解决方案1】:

确保您没有调用: [UIView setAnimationsEnabled:NO] 您可能已经在其他地方完成了它而忘记将其恢复为 YES。

【讨论】:

    猜你喜欢
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-26
    • 1970-01-01
    相关资源
    最近更新 更多