//跳到指定的viewcontroller
ChooseViewController *vc = [[ChooseViewController alloc] init];
[self presentViewController:vc animated:YES completion:nil];
[self dismissViewControllerAnimated:YES completion:nil];
本文介绍了如何在iOS应用中使用Objective-C进行视图控制器的跳转操作,包括展示新的视图控制器以及返回到上一个视图控制器的方法。
//跳到指定的viewcontroller
ChooseViewController *vc = [[ChooseViewController alloc] init];
[self presentViewController:vc animated:YES completion:nil];
[self dismissViewControllerAnimated:YES completion:nil];
1157
3037

被折叠的 条评论
为什么被折叠?