performSearch(query:options:)
Initiates a search for the query string you provide.
Declaration
func performSearch(query: String, options: UITextSearchOptions?)Parameters
- query:
The string to search, the user provides through the search text field of the system find panel.
- options:
The object containing all the configurable options for the search.
Discussion
The system calls this method when the user initiates a search for a string in your app’s text content.