Quick tip: Show UIActivityIndicator above searchBar...
Closed this issue · 1 comments
ruddfawcett commented
When using ODRefreshControl, I noticed that if a table view has a search bar, the UIActivityIndicator is hidden. Simply add this to your viewDidLoad:
self.tableView.contentOffset = CGPointMake(0, -44);
This will initiate the view -44 above the tableview/searchbar, showing the activity indicator.
AliAlem commented
Very useful when starting the refresh control programatically [refreshControl beginRefreshing]