I am new to iOS. I have a very similar requirement like my working Android project. The requirement is that in my LoginActivity onCreate()
, I am checking for some condition and if it is true then I am launching my next Activity using an Intent
.
I am trying to perform the same functionality form my iOS app. In my LoginViewController viewDidLoad()
, after checking for some condition, I am calling [self performSegueWithIdentifier:@"myNextControllerSegue" sender:nil];
.
But, my ViewController is not changing to next view controller. Any help would be appreciated.