Hello,
I want to show a loading message while I am retrieving some data from the Internet. I am using the code from:
http://cocoawithlove.com/2009/04/showing-message-over-iphone-keyboard.html
The code I use is very simple:
The problem is that the loading image only shows up when the retrieve data method has finished and that´s not what I am looking for. I want the loading window to stay until retrieve data method has finished.
Do i have to call retrieve data in a thread (performSelectorInBackground)???
This must be very easy but I am a bit newbie sorry :S
Thanks in advance
I want to show a loading message while I am retrieving some data from the Internet. I am using the code from:
http://cocoawithlove.com/2009/04/showing-message-over-iphone-keyboard.html
The code I use is very simple:
Code:
LoadingView *loadingView = [LoadingView loadingViewInView:[self.view.window.subviews objectAtIndex:0]];
//Retrieve data
[loadingView performSelector:@selector(removeView) afterDelay:5];
Do i have to call retrieve data in a thread (performSelectorInBackground)???
This must be very easy but I am a bit newbie sorry :S
Thanks in advance