I have a navigation based Iphone application. Before root view(UITableView) I want to display a WELCOME view with few UILabels and a UIActivityIndicator on it.
This WELCOME view will be displayed when the application launch with the activity indicator. The data download (generally parsing XML and store data from server into local file system) will run in the background when the application launch.
When the download will finish this view will automatically dismiss and display the main root view (UITabkleView) with the data.
I am using
-(void)viewDidLoad{
[self.indicator startAnimating]
[self performSelectorInBackground:selector(startDataDownload).....]
[self.indicator stopAnimating]
}
But not working!!!
Any help would be highly appreciated.
Thanks