Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-10-2009, 02:54 PM   #2 (permalink)
MichaelE
http://app-apps.com
 
Join Date: Jun 2009
Location: Los Angeles, CA
Posts: 446
Default

There are several ways to approach this. The quick and dirty way would be throw up an activity sheet with no buttons that says "Loading". You will probably need to refactor your code so that the long processing code comes after the UI has displayed. When the code finishes, remove the loading action sheet.

Another option would be to do the above, but move the long processing code to a separate thread. Once the thread returns remove the "loading" action sheet.

A third option would be to use either of the methods above, but instead of an action sheet, use a view that covers the screen, partially opaque, with "Loading" and the loading indicator icon (available in interface builder).

Quote:
Originally Posted by dragon_tenvel View Post
Hi everybody!

I have another problem, my tabs take a long time to load so I would like to display an Activity Indicator on the screen as soon as a tab is touched. Problem is, I have no clue of how I'm supposed to do it...

I would very much appreciate some help on that... Thanks in advance
__________________
Michael Emmons
Founder, App Apps, LLC
http://app-apps.com



VideoBot | Audiotorium Notes | Thought Bubbles
MichaelE is offline   Reply With Quote
 

» Advertisements
» Online Users: 309
18 members and 291 guests
ADY, BdR, BrianSlick, djohnson, F_Bryant, Herbie, ilmman, Joseph Nardone, laurielaptop, M@realobjects, oztemel, poisenden, Profile, rob.mccarthy, Sunny46, TheWebWizz, VikMyr, yomo710
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,701
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.