[英]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.