searchBarCancelButtonClicked(_:)
Tells the delegate that the cancel button was tapped.
Declaration
optional func searchBarCancelButtonClicked(_ searchBar: UISearchBar)Parameters
- searchBar:
The search bar that was tapped.
Discussion
Typically, you implement this method to dismiss the search bar.