views:

79

answers:

2

I have a view in my app where I use a very large photo that is Hi-Res and takes a bit of time to load. How do I put a loading screen while this is happening? The kind of loading screen with the spinning loading wheel so that the app does not look like it has frozen? Thanks in advance for any help!

Edit: Note that I am simply loading the image from the main bundle and not a URL

A: 

Put an activity indicator (the spinning wheel) into your view and hide it when your hi-res image has finished loading.

quadelirus
will this run even while the view is loading?
Dick Savagewood
A: 

Check out these Open-Source activity indicators.


alt text

TDHUDProgressBar

Looks like Tweetie's/Twitter's Progress bar.


alt text

MBProgressHUD

A view that appears and contains a Activity Indicator, much like the Private Class UIProgressHUD.

Joshua
yes thats exactly what i want the UIProfessHUD
Dick Savagewood
Is MBProgressHUD okay? As `UIProgressHUD` is a private class.
Joshua