Is it possible to use UIActivityIndicator
on the iOS launch screen?
I tried, but it\'s not animating.
Has anyone tried this or
What you are trying to achieve is to show ActivityIndicator during launch screen which is not possible, but you can achieve it by some different way.
Here is the idea that may help you:
While using indicator make sure you have checked StartAnimating to true or simply add indicator programmatically like this:
UIActivityIndicatorView *activity = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(225, 115, 30, 30)];
[activity setBackgroundColor:[UIColor clearColor]];
[activity setActivityIndicatorViewStyle: UIActivityIndicatorViewStyleGray];
[self.view addSubview: activity];
[activity startAnimating];
Hope it will work for you.