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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:33:08+00:00 2026-05-27T10:33:08+00:00

A UIViewController (View A) invokes another view controller (View B) by invoking it as

  • 0

A UIViewController (View A) invokes another view controller (View B) by invoking it as a modal control.

[self presentModalViewController:ViewB animated:TRUE];

And View B exists by invoking:

[self dismissModalViewControllerAnimated:TRUE];

When this occurs everything looks right EXCEPT that View A’s viewWillAppear and viewDidAppear does not get called (they are called during app init though). Weird thing is… i believe ive done this before, but im not sure what is going on now.

Is there anything obviously wrong that im doing?
Thanks!

* UPDATE *
I just now learned that this behavior only occurs with the UIModalTransitionStylePartialCurl transition type. For all other transition types the parent view-controller gets its viewDidAppear message just fine.

So now what am i suppose to do!?!

  • 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-27T10:33:09+00:00Added an answer on May 27, 2026 at 10:33 am

    I just ran in to the same problem.

    I solved it by adding a delegate and a delegate method.

    So when Controller A opens Controller B as a modal view controller with a page curl i set the instance of controller b’s.delegate to be controller a.

    In controller B i add this:

    -(void) viewWillDisappear:(BOOL)animated {
        [super viewWillDisappear:animated];
    
        if (delegate)
            [delegate didCloseInfoViewController];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UIViewController view that I wanted to insert below a subview: [self.view
I'm trying to render an in-memory (but not in hierarchy, yet) UIViewController's view into
When the view property of a UIViewController is accessed, it first checks to see
I have written a subclass of UIViewController which creates a view programmatically, instead of
The parentViewController property of UIViewController is readonly, but I am nesting custom view controllers
I have a UIPopOverController that shows a UIViewController with a UITableview in its view.
I have BaseView which implement UIViewController. Every view in project must implement this BaseView.
I have a normal UINavigationController with a UIViewController contained in it, when my view
My view contains a simple TableView with 6 rows and a button that invokes
I've some memory issues with a view controller that contains a text field. Brief

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.