Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIRefreshControl change color of UIActivityIndicatorView

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

I didn't find anything!

Thanks!!

UIRefreshControl

like image 263
user1053839 Avatar asked Feb 01 '13 08:02

user1053839


1 Answers

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.

like image 129
subharb Avatar answered Oct 21 '22 02:10

subharb