A collection of optional methods that you implement to make a search bar control functional.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
UISearch object provides the user interface for a search field on a bar, but it’s the application’s responsibility to implement the actions when buttons are tapped. At a minimum, the delegate needs to perform the actual search when text is entered in the text field.