Reputation: 209
I'm trying to perform a manual segue from a VC to a different VC which is in a TabViewController.
When I do that the tab bar it self disappears for some reason. I've tried to imbed all the TabVCs in NavigationControllers but it didn't help.
Here is the scheme of the project:
As you can see, there is an initial navigation controller and then I try to connect the user to a tab view controller after he logs in. The segue code:
self.performSegue(withIdentifier: "AfterLogin", sender: self)
The segue works("show") but the tab bar disappears.
Thank you!
Upvotes: 0
Views: 87
Reputation: 209
thank you everyone! I found a solution that is quit helpful. For some reason I've created a "loading screen" and made a segue between the login screen to it. with dispatqueue I've made a 1 sec delay then made a segue between the loading screen to the final wanted screen. That created a sort of loading filling while fixing the problem.
Upvotes: -1