Is it possible to change an UIActivityIndicatorView color to black in iOS?

It is very easy in Swift 5

@IBOutlet weak var loadingIndicator: UIActivityIndicatorView!       //Declare the UIActivityIndicatorView

override func viewDidLoad() {
   super.viewDidLoad()
   loadingIndicator.style = .medium     //Just change the indicator Style
   loadingIndicator.color = .black      //and change what is your indicator color
}

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

Note that .color is only available from iOS 5.