Pull to Refresh control
Thomas Mak wrote at 2021-04-18.
if #available(iOS 10.0, *) {
tableView.refreshControl = UIRefreshControl()
tableView.refreshControl?.addTarget(self, action: #selector(fetchData), for: .valueChanged)
}
Thomas Mak wrote at 2021-04-18.
if #available(iOS 10.0, *) {
tableView.refreshControl = UIRefreshControl()
tableView.refreshControl?.addTarget(self, action: #selector(fetchData), for: .valueChanged)
}
Comments
no comments yet.