Reputation: 1003
I have a static group of cells, a few groups actually, and for some reason the pull to refresh function is enabled, I can't figure out where, at least in Xcode Interface builder an option is to disable that. I assume I'll have to do it programmatically.
Does anyone know how this needs to be done in Swift?
Upvotes: 12
Views: 13852
Reputation: 487
In storyboard, go to your Attributes Inspector for your View Controller and disable it there where it says 'Refreshing':
Upvotes: 4
Reputation: 5745
If you're using UITableViewController
, it should be something as simple as
self.refreshControl = nil
Upvotes: 14