從的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