【问题标题】:Weird Tabbar animation when pop UIViewController弹出 UIViewController 时出现奇怪的 Tabbar 动画
【发布时间】:2019-05-15 12:19:43
【问题描述】:

我在弹出 UIViewCotnroller 时遇到了一个奇怪的行为。

我注意到我的 iOS12 上的 Whatsapp 也出现了这种情况(但不经常发生)。

【问题讨论】:

  • 问题解决了吗?我也面临同样的问题。
  • 是的,我应该在找到答案后添加答案,抱歉。

标签: ios iphone uiviewcontroller uitabbarcontroller uitabbar


【解决方案1】:

我得到的答案是,这是 iOS 8/9/10/11 和 12 中的一个问题,并且也发生在 whatsapp 中。 我找到的答案是将 Translucent 设置为 false。

[self.tabBar setTranslucent:false];

斯威夫特

self.tabBar.translucent = false

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-22
    • 2012-05-12
    • 1970-01-01
    • 2014-04-26
    • 1970-01-01
    • 2023-04-11
    相关资源
    最近更新 更多