我目前正在执行一个方法,当我到达当前正在执行的方法的末尾时CurrentViewController
,我想移动到我的(这是我想要移动到的 ViewController 的实际名称)FirstViewController
当前视图控制器.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
}