[英]Viewcontroller Presenting issue
在將ViewController
與Navigation.TabbarController
一起呈現時,我Rootview
一個問題。 我使用過BATabbarController
,但是當我將viewController
與Navigation一起呈現時,它呈現為黑色背景
let viewcontroller = UIStoryboard(name:"Main", bundle: nil).instantiateViewController(withIdentifier: "viewIdentifire") as! ViewController
let nav = UINavigationController(rootViewController: viewcontroller)
AppDelegate .shared().window?.rootViewController?.present(viewcontroller, animated: true, completion: nil)
我正在展示控制器表單AppDelegates窗口
有人知道為什么會這樣嗎?
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.