0

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

Ahmed Khedr
  • 1,053
  • 1
  • 11
  • 24

0 Answers0