endSearchInteraction()
Ends a search interaction by giving up the first responder and adjusting the size of the search field to the available width for the toolbar item if necessary.
Declaration
func endSearchInteraction()Discussion
Use beginSearchInteraction() and endSearchInteraction() to programmatically control a search.