Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6208315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:47:16+00:00 2026-05-24T05:47:16+00:00

Settings the presentation style on an iPod Touch 2G (3.1.3) crashes with SIGBART but

  • 0

Settings the presentation style on an iPod Touch 2G (3.1.3) crashes with SIGBART but works fine on an iPod Touch 4G (4.2). Is this a bug? Can someone give me a workaround?

DateDialogController* dlg = [[DateDialogController alloc] initWithNibName:@"DateDialogView" bundle:nil];
[dlg setDelegate:self];
dlg.startDate = self.anchorDate;
self.navigationController.modalPresentationStyle = UIModalPresentationCurrentContext;
[self.navigationController presentModalViewController:dlg animated:YES];
[dlg release];


2011-08-02 13:44:20.785 Mobile Manager[274:207] *** -[UINavigationController setModalPresentationStyle:]: unrecognized selector sent to instance 0x230000
2011-08-02 13:44:20.789 Mobile Manager[274:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UINavigationController setModalPresentationStyle:]: unrecognized selector sent to instance 0x230000'
2011-08-02 13:44:20.799 Mobile Manager[274:207] Stack: (
    864992541,
    859229716,
    864996349,
    864492313,
    864454720,
    346779,
    864749711,
    839231364,
    839231212,
    839231156,
    839230220,
    839233420,
    839227648,
    839225236,
    839206800,
    839205012,
    875886564,
    864740651,
    864738335,
    875880904,
    838872112,
    838865456,
    54257,
    54172
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:47:16+00:00Added an answer on May 24, 2026 at 5:47 am

    The property you are setting modalPresentationStyle is only available on iOS3.2+ Since your iPod is running 3.1.2 it can’t respond to methods that set the property

    It’s in the UIViewController docs

    As for working around it, code like this usually helps.

     DateDialogController* dlg = [[DateDialogController alloc] initWithNibName:@"DateDialogView" bundle:nil];
    [dlg setDelegate:self];
    dlg.startDate = self.anchorDate;
    
    // Set the property if the iOS version allows it
    NSString *currSysVer = [[UIDevice currentDevice] systemVersion];    
    if ([currSysVer compare:@"3.2" options:NSNumericSearch] != NSOrderedAscending) {
        self.navigationController.modalPresentationStyle = UIModalPresentationCurrentContext;
    }
    
    [self.navigationController presentModalViewController:dlg animated:YES];
    [dlg release];
    NSString *currSysVer = [[UIDevice currentDevice] systemVersion];    
    if ([currSysVer compare:@"3.2" options:NSNumericSearch] != NSOrderedAscending) {
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Settings table contains always one row with lot of long-caption columns. Opening this in
In settings.py I have setup a way to log my messages like this: logging.basicConfig(
I'm trying to create a slideshow style presentation, where each slide/page is a movieclip
Perhaps there is a better way to do this, but here's where I'm at
I don't know what this means, but with this bit of XAML in my
<UserControl x:Class=JIMS.View.Settings.Settings xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml Name=SettingsWindow> <Border Style={StaticResource WindowBorderStyle} Height=100> <StackPanel Orientation=Vertical> <my:TitleBar Title=settings/> <StackPanel
This problem began as the commonly-seen incompatible character encodings: ASCII-8BIT and UTF-8 problem, but
i have this array here: Array ( [0] => Array ( [presentation] => Präsentationen
On this fiddle http://jsfiddle.net/mjmitche/qVdEy/6/ , you can see that the alignment of the text
i was wondering if anyone can tell me how to make this script work.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.