The ranges of characters to highlight in the title string.
SDKs
- iOS 9.3+
- macOS 10.11.4+
- Mac Catalyst 13.0+
- tvOS 9.2+
Framework
- Map
Kit
Declaration
var titleHighlightRanges: [NSValue] { get }
Discussion
This property contains an array of NSValue
objects, each of which contains an NSRange
type defining a range of characters in the title
string. Use this property to identify the ranges of characters in the title string that you should highlight. Highlighting the matching text of a search completion is optional, but does provide helpful information to the user and is recommended.