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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:52:29+00:00 2026-05-16T02:52:29+00:00

I am openning a modal window with the iPad SDK. [parent presentModalViewController:myPopup animated:YES]; The

  • 0

I am openning a modal window with the iPad SDK.

[parent presentModalViewController:myPopup animated:YES];

The myPopup view has lots of building code in its viewDidLoad method and therefore there is a 3 or 4 section pause while myPopup’s view is being built before the popup animation starts.

What I want to do is only build the basics of the myPopup view and then do all the coredata calls and construct the rest of the view only after the popup has animated onto the screen.

Can I put a selector or something on the presentModalViewContainer animation so I can call a method to do further building only after the animation is complete? I tried viewDidAppear and viewWillAppear and these are never called for a modal popup (I debugged) so nothing is built!

-(void) viewWillAppear:(BOOL)animated{
[super viewWillAppear:YES];
[self buildView];

Thankyou very much.

  • 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-16T02:52:29+00:00Added an answer on May 16, 2026 at 2:52 am

    Try putting your building code into -viewDidAppear: instead of did load.

    The building should then take place after the view is animated on screen, however, the UI will still become blocked while your building code is running unless you move it off the main thread.

    There are a number of options for doing this: threading, NSOperation, blocks, etc.

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

Sidebar

Related Questions

I am tired try open a modal view controller from ipad application. How I
I am opening a modal popup window. Then I access a parent window textbox
I'm opening new window with next code: window.open(url,pageName1,menubar=1,resizable=1,scrollbars=1,status=yes,width=1050,height=820); so window is not modal In
I have a parent window from which i open a modal dialog on button
I'm opening a modal window with javascript like this: window.showModalDialog('<%=Url.Action(Index,Bank) %>', Ratting, 'width=550,height=170,left=150,top=200,toolbar=1,status=1,') and
Problem description If I make a non-modal window as a child window through setting
I'm trying to use Tim Heuer's FloatableWindow control for a non-modal options window in
I'm opening a modal dialog for IE6 and above using the following javascript. window.showModalDialog(
    I am having an issue dismissing a modal view controller on a certain edge
I have a html link in which a modal window will be opened while

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.