現在でメソッドを実行していて、現在実行中のメソッドの最後に到達しCurrentViewController
たら、自分FirstViewController
(移動先のViewControllerの実際の名前)に移動したい
CurrentViewController.m
-(void)methodExecutingOnCurrentViewController
{
//some code..
// what method do I call in order to load and move to my FirstViewController at this point?
// do I first initialize an instance of the ViewController I want to move to?
UIViewController *firstViewController = [[FirstViewController alloc] init];
// but now how do I actually move to this instance I've just created?
// I couldn't find the appropriate method in the class reference documentation
}