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.
我不得不将第一类扩展NSObject和第二类视图控制器。
NSObject
我的问题是我想去那个加载我NSObject的那个.view controllerxibview controller
view controller
xib
我使用了传统的,到目前为止没有成功。 假设 NSObject 是 MagentoLogin.m 并且我想去 viewController,我该如何实现呢?
MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate]; [appDelegate.navigationController presentViewController:myNewViewController animated:YES completion:nil];
试试这个希望它会有所帮助