I want to change an activity indicator color gray/white to black. Is it possible to change the color to black? If yes, please guide me or give some sample code.
You can use the
.color property in order to change the
UIActivityIndicatorView color, e.g.:
// Objective-C activityIndicator.color = [UIColor greenColor]; // Swift activityIndicator.color = .green
.color is only available from iOS 5.