The search string for which you want completions.
- iOS 9.3+
- macOS 10.11.4+
- Mac Catalyst 13.0+
- tvOS 9.2+
Assigning a string to this property initiates a search based on that string. The completer object waits a short amount of time before initiating new searches. This delay gives you enough time to update the search string based on typed input from the user. For example, if you are using a text field to manage the input from the user, you could use the
text method of the text field’s delegate to update the value of this property, as shown in the following example.