0

当我关闭设置时,我的应用程序崩溃了。
即使使用标准动画 ( UIModalTransitionStyleCoverVertical) 按钮“完成”也无法正常工作。
可能出了什么问题?

-编辑-显然我在描述问题时不太准确: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];}

我的课程文件:

4

1 回答 1

1

您没有实现正确的委托方法。查看 Inappsettings 的文档,有一些方法用于关闭设置视图。

于 2012-07-16T12:07:26.900 回答