How to call a View Controller programmatically?
I have looked at all the tutorials I can find on this one, and I still don't have the answer. I need to call another view from the code. I am using UIStoryboards . I have changed the view many times by control-dragging from UIButtons , but now it must be from the code. I am trying to call the info page from the main menu if it is the first time the user has opened the app. I cannot seem to find a way to change the views from the code, however. All my views are controlled by the same files ( ViewController2 ). The identifier of my main menu is ViewControllerMain , and the identifier of the info