• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iphone] Load time and Nav View Controller.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

  • Follow-Ups:
    • Re: [iphone] Load time and Nav View Controller.
      • From: Philip Vallone <email@hidden>
  • Prev by Date: Re: NSTextField sendActionOn:
  • Next by Date: Re: [iphone] Load time and Nav View Controller.
  • Previous by thread: Re: NSTextField sendActionOn:
  • Next by thread: Re: [iphone] Load time and Nav View Controller.
  • Index(es):
    • Date
    • Thread