I am using a UITableView Which has a Pull down to refresh function but the spinner for pull down to refresh is not showing up when I call the [self.refreshControl beginRefre
Same as @jpros answer but in swift
if #available(iOS 10.0, *) { tableView.refreshControl = refreshControl } else { tableView.addSubview(refreshControl) } refreshControl.layoutIfNeeded() refreshControl.beginRefreshing()