We have this:
self.refreshControl?.addTarget(self, action: #selector(MyController.userRefresh(refreshControl:)), for: UIControlEvents.valueChanged)
func userRefresh (refreshControl: UIRefreshControl) {
sync()
}
Is there another UIControlEvents
event which we can listen to in order to execute code prior to the UIRefreshControl beginning to spin?
For the valueChanged
event the spinner is already active.