In my attempt to Keep UISearchBar visible even if user is sliding down, I've:
Added a
UITableView
&UISearchView
as subviews ofview
.tableView
'sframe
=view.bounds
searchBar
is locked to the bottom oftopLayoutGuide
with Auto Layout.
But, since even with automaticallyAdjustsScrollViewInsets = true
, the searchBar
covers the tableView
, how do I increase tableView.contentInset.top
by 44 (the searchBar
's height)?