Inappsetting (application crashes)
===

Application crashes when I go out of the settings.<br>
Even with a standard animation (UIModalTransitionStyleCoverVertical) button "Done" is not working..<br>
What could be wrong?

<!-- language: lang-cpp -->

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

*Sorry for bad english*