[iphone] Load time and Nav View Controller.
[iphone] Load time and Nav View Controller.
- Subject: [iphone] Load time and Nav View Controller.
- From: Philip Vallone <email@hidden>
- Date: Sat, 16 Jan 2010 15:46:44 -0500
Hi,
I have a Navigation Based iPhone Application. If I am going from one nav view to another it may take about 3 seconds to view the next view. This is because the the view loads a large xml file into a NSArray and then must render it. My question is, how can I display a UIActivityIndicatorView while the view is being loaded. if I add it right before the my method to load the second view, it doesn't display until after the view loaded.
// Add UIActiviatyIndicatorView here
PartViewController *thePartPage = [[PartViewController alloc] initWithNibName:@"PartViewController" bundle:nil];
[thePartPage setTitle:rowValue];
[self.navigationController pushViewController:thePartPage animated:YES];
Thanks,
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden