Closed jimijon closed 7 years ago
I tried this and it had no effect.
let vc1 = UIStoryboard(name: "Main", bundle: nil) .instantiateViewController(withIdentifier: "DashboardViewController") as! DashboardViewController let vc2 = UIStoryboard(name: "Main", bundle: nil) .instantiateViewController(withIdentifier: "MainNewsViewController") as! MainNewsViewController BInterfaceManager.shared().a .addTabBarViewController(vc1, at: 0) BInterfaceManager.shared().a .addTabBarViewController(vc2, at: 1)
How do I customize, change, etc the tab bar controller? Otherwise I do have login to chat!!!
I had my order of initialization wrong. I needed to initialize my view controllers, then add them to the interface and then finally init the main view controller (uitabbarcontroller)
I tried this and it had no effect.
How do I customize, change, etc the tab bar controller? Otherwise I do have login to chat!!!