Contents

searchBarShouldBeginEditing(_:)

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

Declaration

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

Parameters

  • searchBar:

    The search bar that is being edited.

Return Value

true if an editing session should be initiated, otherwise, false.

See Also

Managing the search text