How do I programmatically set the InitialViewController for a Storyboard? I want to open my storyboard to a different view depending on some condition which may
Select the view controller which you want to open first and go to attribute inspector.
Go to initial scene and check is initial view controller option.
Now this will be your initial view controller that will open first when application launch.