I need to show activity indicator on splash image, i need to add view controller at the place of splash image or need to do something else??
Asked
Active
Viewed 1,356 times
3 Answers
1
you can't do it for splash screen if you want to do activity indicator after load splash show same image with help of imageview then display activity indicator in didfinishinglaunch mentod

codercat
- 22,873
- 9
- 61
- 85
1
You can not put the indicator view on a splash screen. For that, you have to create a viewcontroller and you have to put the splash image and indicator view in it

Hugo Rodger-Brown
- 11,054
- 11
- 52
- 78

Nirmalsinh Rathod
- 5,079
- 4
- 26
- 56
0
You can do this. In your root view controller, place the UIImageView with the splash image. In the DidLoad method of that view controller add the Activity Indicator programatically and set the timer for specific time using NSTimer (for example 10 sec), load the new view controller inside the method of Timer and invalidate the timer. Let me know if you need the code for this.

Funny
- 566
- 5
- 16