Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove UIRefreshControl default spinner

I have subclassed UIRefreshControl to make my own, and I can manage everything except one thing :

The default spinner is always visible, and is of course in the middle of everything I've done in my custom implementation.

I can't find the spinner property or whatever it is I need to put to a clear color, can anyone help me on this?

like image 641
Gil Sand Avatar asked Oct 01 '15 16:10

Gil Sand


1 Answers

To hide spinner loader in a UIRefreshControl, set the .tintColor property to a clear color.

e.g. (Swift):

mRefreshControl.tintColor =.clear
like image 68
Kevin ABRIOUX Avatar answered Oct 13 '22 00:10

Kevin ABRIOUX