从的TabBar查看使用模式的看法使用模式的看法iPhone从的TabBar查看
我总是得到以下错误:从调试器 错误:上一帧相同,该框架(GDB不能放松过去,这架)
我有一个应用程序使用TabBar。从其中一个TabView中,我需要以模态方式显示 a View。我尝试:
if(self.gmailController == nil) {
self.gmailController =
[[GMailViewController alloc] initWithNibName:@"GMailView" bundle:nil];
}
[[self.navigationController]
presentModalViewController:gmailController animated:YES];
////////
And I have tried:
[self.parentViewController
presentModalViewController:gmailController animated:YES];
and
[self.tabBarController presentModalViewController:gmailController animated:YES];
and
[self presentModalViewController:gmailController animated:YES];
Thanks for reading! Any comments welcome.
Mark