I want to change the color of the activity Indicator in iOS. However, I do not want to create a custom indicator. There is a color property for the activity Indicator but it's not showing up in xcode. Please advice.
Asked
Active
Viewed 8,561 times
3
-
This is a solution that I found: http://stackoverflow.com/a/22670582/2578240 – Lugubrious Jul 10 '14 at 23:17
3 Answers
10
color
The color of the activity indicator.If you set a color for an activity indicator, it overrides the color provided by the activityIndicatorViewStyle property.
Notice that it is iOS 5.0 and later only.

phi
- 10,634
- 6
- 53
- 88
0
You cannot change the default activity indicator's color.

Anthony
- 12,177
- 9
- 69
- 105

Saurabh Passolia
- 8,099
- 1
- 26
- 41
-
You can... but you really shouldn't. The only way you can is to access a view down in UIActivityIndicators view heiarchy and Apple Will not let your app in if it does that. Id recommend creating your own view that does the same thing and you can make it look like whatever you want. – Aron Oct 17 '11 at 11:53
0
just fyi, another way to do progress view http://github.com/jdg/MBProgressHUD

Zitao Xiong
- 956
- 1
- 10
- 18