Just two options (of course there are more):
- Use one
UIViewController
asrootViewController
in the beginning of your App. Once the login is successful it will switch thewindow
'srootViewController
. - Put the
UITabBarController
asrootViewController
, onviewWillAppear
, check if the login has been made, if not, just show the Login'sUIViewController