Contents

searchBarShouldEndEditing(_:)

Asks the delegate if editing should stop in the specified search bar.

Declaration

optional func searchBarShouldEndEditing(_ searchBar: UISearchBar) -> Bool

Parameters

  • searchBar:

    The search bar that is being edited.

Return Value

true if editing should stop, otherwise false.

See Also

Managing the search text