I am trying to replicate the behavior of scrollsToTop
property on UITableView
and UICollectionView
-
If you tap the status bar the scroll view scrolls up to the top and shows the full height of the navigation bar with the large title and also slowly scrolls to show the UISearchBar
embedded into the navigation item.
Sample project here
The scroll view scrolls up to the top fine but I cannot get it to show the the search bar if its navigationItem.hidesSearchBarWhenScrolling
is set to true