GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
kGMSAutocompleteMatchAttribute
extern const NSAttributedStringKey _Nonnull kGMSAutocompleteMatchAttribute
Attribute name for match fragments in GMSAutocompletePrediction
attributedFullText.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003ekGMSAutocompleteMatchAttribute\u003c/code\u003e is an attribute name used for highlighting matching text fragments.\u003c/p\u003e\n"],["\u003cp\u003eIt is applied to the \u003ccode\u003eattributedFullText\u003c/code\u003e property within a \u003ccode\u003eGMSAutocompletePrediction\u003c/code\u003e object to display search results with matched portions visually distinguished.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize this attribute to style or emphasize the matching parts of an autocomplete prediction in their UI.\u003c/p\u003e\n"]]],[],null,["# GooglePlaces Framework Reference\n\nkGMSAutocompleteMatchAttribute\n==============================\n\n extern const NSAttributedStringKey _Nonnull kGMSAutocompleteMatchAttribute\n\nAttribute name for match fragments in [GMSAutocompletePrediction](../Classes/GMSAutocompletePrediction.html) attributedFullText. \nSee\n[GMSAutocompletePrediction](../Classes/GMSAutocompletePrediction.html)"]]