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.