• 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
Re: [iphone] Load time and Nav View Controller.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iphone] Load time and Nav View Controller.


  • Subject: Re: [iphone] Load time and Nav View Controller.
  • From: Philip Vallone <email@hidden>
  • Date: Sat, 16 Jan 2010 16:00:14 -0500

Hmmm Figured it out. I needed to run the activity indicator on another thread....

[NSThread detachNewThreadSelector: @selector(showIndicator) toTarget:self withObject:nil];


Thanks,

On Jan 16, 2010, at 3:46 PM, Philip Vallone wrote:

> 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

_______________________________________________

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: Dave DeLong <email@hidden>
References: 
 >[iphone] Load time and Nav View Controller. (From: Philip Vallone <email@hidden>)

  • Prev by Date: [iphone] Load time and Nav View Controller.
  • Next by Date: Re: [iphone] Load time and Nav View Controller.
  • Previous by thread: [iphone] Load time and Nav View Controller.
  • Next by thread: Re: [iphone] Load time and Nav View Controller.
  • Index(es):
    • Date
    • Thread