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 6148243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:14:47+00:00 2026-05-23T19:14:47+00:00

Possible Duplicate: crashing on ios device while navigation using UIModalTransitionStylePartialCurl in xcode 4 HI

  • 0

Possible Duplicate:
crashing on ios device while navigation using UIModalTransitionStylePartialCurl in xcode 4

HI I am making an app which is a test, halfway through the middle, i run, and i get a crash in my switching page code, this never happened before, suddenly it happened. weird right? This is my code:

-(IBAction)fail {
Fail *fail = [[Fail alloc]
              initWithNibName:@"Fail" bundle:nil];
fail.modalTransitionStyle = UIModalTransitionStylePartialCurl;
[self presentModalViewController:fail animated:YES];

 }

Here is my console crash log:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:     'Application tried to present a nested modal view controller while curled <QThree:    0x5537190>.'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x00f025a9 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x01056313 objc_exception_throw + 44
    2   UIKit                               0x000d2bac -[UIViewController     presentModalViewController:withTransition:] + 741
    3   Smart2                              0x0000730a -[QThree fail] + 135
    4   UIKit                               0x0001f4fd -[UIApplication sendAction:to:from:forEvent:] + 119
    5   UIKit                               0x000af799 -[UIControl sendAction:to:forEvent:] + 67
    6   UIKit                               0x000b1c2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
    7   UIKit                               0x000b07d8 -[UIControl touchesEnded:withEvent:] + 458
    8   UIKit                               0x00043ded -[UIWindow _sendTouchesForEvent:] + 567
    9   UIKit                               0x00024c37 -[UIApplication sendEvent:] + 447
    10  UIKit                               0x00029f2e _UIApplicationHandleEvent + 7576
    11  GraphicsServices                    0x0113b992 PurpleEventCallback + 1550
    12  CoreFoundation                      0x00ee3944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
    13  CoreFoundation                      0x00e43cf7 __CFRunLoopDoSource1 + 215
    14  CoreFoundation                      0x00e40f83 __CFRunLoopRun + 979
    15  CoreFoundation                      0x00e40840 CFRunLoopRunSpecific + 208
    16  CoreFoundation                      0x00e40761 CFRunLoopRunInMode + 97
    17  GraphicsServices                    0x0113a1c4 GSEventRunModal + 217
    18  GraphicsServices                    0x0113a289 GSEventRun + 115
    19  UIKit                               0x0002dc93 UIApplicationMain + 1160
    20  Smart2                              0x00003092 main + 83
    21  Smart2                              0x00002911 start + 53
)
terminate called after throwing an instance of 'NSException'

I have no idea what the problem is, especially why it suddenly rose up in one build, i cant remember which code i added because its actually been a while since i last built. SOO!

  • 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-23T19:14:48+00:00Added an answer on May 23, 2026 at 7:14 pm

    You have already presented a view modally with a page curl effect, according to the ‘crash’. Unlike other modal presentations, page curl modal view controllers cannot be stacked. Therefore, this exception is being raised as this is what you are trying to do; present a modal view controller inside another modal view controller with a page curl effect.

    To stop this, you are going to have to refactor your app workflow or present the first modal view controller with a different animation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: iOS App crashing before entering main() with Xcode 4.2 & iOS 5
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: Can we change the device time using an application? is that possible
Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the
Possible Duplicate: MySQL query using an array How to use an array of values
Possible Duplicate: In Java, what is the advantage of using BufferedWriter to append to
Possible Duplicate: saving data in iOS Do we have a provision profile to select
Possible Duplicate: How to detect if JavaScript is disabled? I have a website which
Possible Duplicate: Lock the Android device programmatically I want to lock the screen through
Possible Duplicate: Parse string into argv/argc I'm trying to write a fake shell using

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.