Question

My application crashes when I close the settings.
Even with a standard animation (UIModalTransitionStyleCoverVertical) button "Done" is not working..
What could be wrong?

-EDIT- Apparently I was not quite accurate in describing the problem: XCode does not receive notice of a crash. The application simply closes. As a result, achievements gained during the session are lost.

- (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];}

my class files:

Was it helpful?

Solution

You don't have the proper delegate methods implemented. Look at the documentation of Inappsettings, there are methods used for dismissing the settings view.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top