0

我不得不将第一类扩展NSObject和第二类视图控制器。

我的问题是我想去那个加载我NSObject的那个.view controllerxibview controller

我使用了传统的,到目前为止没有成功。
假设 NSObject 是 MagentoLogin.m 并且我想去 viewController,我该如何实现呢?

4

1 回答 1

1
MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate];
[appDelegate.navigationController presentViewController:myNewViewController animated:YES completion:nil];

试试这个希望它会有所帮助

于 2013-05-13T08:17:44.710 回答