I am new to Ios develpomment,
I added a Searchbar
into the navigation item
What I would like to implement is when I scroll Up the tableview
I want to hide the Searchbar
and when show it when I scroll down
Like safari effect on iPAD /Iphone where the address bar is hiding when scrolling Down and showing when scrolling Up
let searchController = UISearchController(searchResultsController: nil)
searchController.searchResultsUpdater = self
searchController.obscuresBackgroundDuringPresentation = false
navigationItem.searchController = searchController
definesPresentationContext = true
thank your for helping.