searchTemplateSearchButtonPressed(_:)
Tells the delegate that the user tapped the keyboard’s search button.
Declaration
optional func searchTemplateSearchButtonPressed(_ searchTemplate: CPSearchTemplate)Parameters
- searchTemplate:
The current search template.
Discussion
Your implementation of this method should retrieve the search result, and display a CPListTemplate containing the search result items by calling pushTemplate(_:animated:completion:).