UIRefreshControl change color of UIActivityIndicatorView

user1053839 picture user1053839 · Feb 1, 2013 · Viewed 9.8k times · Source

There is any way to change the color of the "UIActivityIndicatorView" of the UIRefreshControl??

I didn't find anything!

Thanks!!

UIRefreshControl

Answer

subharb picture subharb · Apr 9, 2013

You can do it by setting the Tint Color of the UIRefreshControl, something like this:

Objective C [refreshControl setTintColor:[UIColor blackColor]];

Swift refreshControl.tintColor = .black

This will also change the arrow that expands when you slide.