Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 iCarousel 的视图控制器。
当我点击一个我知道如何显示 UIalert 但现在我想更改视图控制器以继续另一个已经创建的视图控制器的项目时
我猜你需要这样的东西:
MyOtherViewControllersName *vc =[[MyOtherViewControllersName alloc]initWithNibName:@"MyOtherViewControllersName" bundle:nil]; [self presentModalViewController:vc animated:YES];
只需将其放在生成警报消息的相同方法中即可。