so I have a simple application using a storyboard. I have a few view controllers linked by segues. I also have one controller set as the default "first view controller". I understand that no code is required for the app to automatically load this was the first controller. However I want the app to first run a few checks (i.e. is the user logged in) before it decides which controller to push. Is there anywhere I should be putting this code or should I remove the "first view controller" setting on the storyboard and init manually?
Thanks
you can set the LoginViewcontroller as initial viewcontroller and if the user is logged in change the initial viewcontroller to something else, you can change the initial view controller by changing the rootViewController property of the window