[英]UIViewController edges not extended behind top/bottom bars during a UINavigationController animation if it has a translucent UIToolbar subview
I'm displaying a translucent UIToolbar as a subview of a UIViewController which is a child of a UINavigationController (I don't use the UINavigationController toolbar as I want to subclass it).我将半透明 UIToolbar 显示为 UIViewController 的子视图,它是 UINavigationController 的子视图(我不使用 UINavigationController 类工具栏),因为我想要子工具栏。
Everything works fine but one thing: when I push another UIViewController on the UINavigationController stack, the next UIViewController edges are not extended behind the NavigationBar until the animation is over. Everything works fine but one thing: when I push another UIViewController on the UINavigationController stack, the next UIViewController edges are not extended behind the NavigationBar until the animation is over. The same issue occurs when the pop animation of the next UIViewController starts.
下一个 UIViewController 的 pop animation 启动时也会出现同样的问题。
Side notes:旁注:
It's easily reproducible on iOS 12 and iOS 13 devices/simulators, with no code, just storyboard editing.它可以在 iOS 12 和 iOS 13 设备/模拟器上轻松重现,无需代码,只需 storyboard 编辑。
Does anyone has any clue regarding what's looks like a UINavigationController push/pop animation issue to me?有没有人对我看起来像 UINavigationController 推送/弹出 animation 问题有任何线索?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.