Following Situation.
In a storyboard i have two ViewControllers. ViewController_1 and ViewController_2. When the first ViewController_1 opens and the viewdidload void did load, how can I move automatically to the next ViewController_2 after a certain time(which I can adjust) without any user intervention? I’m using this self call up for my method:
[self performSelector:@selector(toNewViewController:) withObject:nil
afterDelay:timeInSeconds];
But I’m not sure, how to write the method with the view controller to view controller transition. Any ideas?
Create a segue (Arrow from one View to another) in your Storyboard from your first to your second view.
Then you need to call in your
toNewViewControllerMethod:This call will perform the transition from your first view to your second.