I have a UITabBarController that is working good.
Now before I open the tabController, I want to check if the user is registered, if not I want to open a registration page (RegistrationController) and then go back to my tabView.
How can I do this, since the TabBarController can only be the first page.
Thank you
u can have a viewController(VC1) pushing another viewController (VC2) and in
viewDidLoadof VC2 u can add ur tabbar programmatically.also u can do this
in the
viewDidLoadof thetabBarController(default view), u can check a variable, if its 0 (i.e. user is not registered), then u canpresentModalViewControllerwith a registration form.hope it helps. happy coding 🙂