Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
🐛 Now pull to refresh works on real devices if large title is active
Browse files Browse the repository at this point in the history
  • Loading branch information
Cantallops committed Feb 4, 2018
1 parent 42e56c4 commit 9f1260f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class TableViewController: UITableViewController, Presentable {
}

private func addRefresh() {
extendedLayoutIncludesOpaqueBars = true
tableView.refreshControl = UIRefreshControl()
tableView.refreshControl?.addTarget(self, action: #selector(refresh), for: .valueChanged)
}
Expand Down

0 comments on commit 9f1260f

Please sign in to comment.