iPhone SDK loading screen
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 sc开发者_如何转开发reen 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
Check out these Open-Source activity indicators.
TDHUDProgressBar
Looks like Tweetie's/Twitter's Progress bar.
MBProgressHUD
A view that appears and contains a Activity Indicator, much like the Private Class UIProgressHUD
.
Put an activity indicator (the spinning wheel) into your view and hide it when your hi-res image has finished loading.
精彩评论