Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIRefreshControl pull length

Looked around at stackoverflow but couldn't find a answer to this question: Is there any way to change how much a tableview has to be pulled down for the UIRefreshControl to start refreshing? Cause pulling 45% of the screen seems a little overkill.

Thanks in advance!

like image 376
Peep Avatar asked Dec 16 '12 23:12

Peep


1 Answers

There is no way of changing it using the UIRefreshControl component provided by Apple, since it's behavior is managed privately by the implementation of UITableViewController.

If you really want that kind of customization you may consider the open-source component ODRefreshControl and try to tweak its parameters.

like image 120
Gabriele Petronella Avatar answered Sep 22 '22 23:09

Gabriele Petronella