Okay, so far I\'ve two view controllers in my storyboard. One with \"login\" elements and other as \"User\'s home\" sort of thing. I am intending to do the following : When user
In addition to NSPostWhenIdle's suggestion of instantiateViewControllerWithIdentifier
, you can also define a segue between the two view controllers (not between the button and the second controller, but between the two view controllers):
Then give the segue a unique identifier, and then have your IBAction
method do a performSegueWithIdentifier
. This way your storyboard will continue to visually represent the various relationships between your view controllers.