我有一个在主屏幕上带有 UITabBarController
的 iOS 应用程序,通过设置 hidesBottomBarWhenPushed = true
导航到隐藏 UITabBarController
的详细信息屏幕。
当回到主屏幕时,UITabBarController
会执行一个奇怪的“跳跃”,如这个 GIF 所示:
这种情况只发生在 iOS 12.1,而不发生在 12.0 或 11.x 上。
似乎是 iOS 12.1 的错误,因为我注意到 FB Messenger 等其他应用程序也有这种行为,但我想知道,是否有某种解决方法?
最佳答案
在您的 UITabBarController
中,设置 isTranslucent = false
关于ios - UITabBar 项目在 iOS 12.1 上跳回后退导航,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53257664/