Reputation: 380
On click button "Go!" show white View Controller.
I want show tabbar on white ViewController, but it doesn't show. How i make this correctly? Swift please, thanks.
Upvotes: 0
Views: 1426
Reputation: 944
Do this in firstView,so the firstViewController embed in NavigationController,then make a push segue,the tabBar will not dismiss.
Upvotes: 2
Reputation: 71852
I think you are using wrong segue just delete old segue and add new segue this way by pressing control key:
Upvotes: 0
Reputation: 8802
You have to use navigation controller to see tab bar. by presenting modally you can't get tab bar in white controller.
Swift code:
let secondViewController = self.storyboard.instantiateViewControllerWithIdentifier("SecondViewController") as SecondViewController
self.navigationController.pushViewController(secondViewController, animated: true)
Upvotes: 1