Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I "hide" a UIRefreshControl?

Occasionally my table view won't be connected to a service to refresh, and in that case, I don't want the UIRefreshControl to be present.

After I add it in viewDidLoad, I've tried hiding it under certain circumstances with setEnabled: and setHidden: but neither seems to work.

like image 494
Doug Smith Avatar asked Oct 20 '13 17:10

Doug Smith


1 Answers

Try setting your table view controller's refreshControl property to nil.

like image 103
Jonathan Arbogast Avatar answered Sep 23 '22 14:09

Jonathan Arbogast



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!