![](/img/trans.png)
[英]how to add UINavigationController UIToolbar to the top of the view not the bottom
[英]UIViewController edges not extended behind top/bottom bars during a UINavigationController animation if it has a translucent UIToolbar subview
我将半透明 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. 下一个 UIViewController 的 pop animation 启动时也会出现同样的问题。
旁注:
它可以在 iOS 12 和 iOS 13 设备/模拟器上轻松重现,无需代码,只需 storyboard 编辑。
有没有人对我看起来像 UINavigationController 推送/弹出 animation 问题有任何线索?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.