Peep Peep - 1 year ago 176
iOS Question

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!

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download