A fully formed string that completes a partial string.
- iOS 9.3+
- macOS 10.11.4+
- tvOS 9.2+
You do not create instances of this class directly. Instead, you use an
MKLocal to initiate a search based on a set of partial search strings. That object stores any matches in its results property. Retrieve any
MKLocal objects from that property and display the search terms in your interface or use one to initiate a search for content based on that search term.
When displaying text completions for a partial search term in your user interface, you might want to use a bold version of a font or add some other highlighting to the portion of the completion string that caused it to match the partial search term. To help you add this styling, the completion object includes highlight ranges for the title and subtitle strings.