2012-07-16 81 views
0

當我關閉設置時,我的應用程序崩潰。
即使使用標準動畫(UIModalTransitionStyleCoverVertical)按鈕「完成」不起作用。
什麼可能是錯誤的?在應用程序設置中(應用程序已關閉)

-EDIT-顯然我在描述問題時不太準確:XCode沒有收到崩潰通知。應用程序簡單地關閉。結果,會議期間取得的成就喪失了。

- (IBAction)BarButtonPageCurlAction:(id)sender { 
IASKAppSettingsViewController *SettingsViewController; 
SettingsViewController = [[[IASKAppSettingsViewController alloc] initWithNibName:@"IASKAppSettingsView" bundle:nil] autorelease]; 
SettingsViewController.delegate = self; 
//SettingsViewController.showDoneButton = NO; 
//SettingsViewController.showCreditsFooter = NO; 
SettingsViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl; 
UINavigationController *NavController = [[[UINavigationController alloc] initWithRootViewController:SettingsViewController] autorelease]; 
//[NavController setNavigationBarHidden:YES]; 
[self presentModalViewController:NavController animated:YES];} 

我的類文件:

+0

你能在這裏粘貼你的例外嗎? – 2012-07-16 11:06:55

+0

我不太瞭解你。我沒有使用例外。附上完整的課程代碼 – Shrugged 2012-07-16 11:34:19

+0

他意味着堆棧跟蹤(帶符號)顯示*它在哪裏崩潰。 – trojanfoe 2012-07-16 11:37:55

回答

1

您沒有實施適當的委託方法。查看Inappsettings的文檔,有一些方法用於解除設置視圖。