GooglePlacesSwift Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
AutocompleteUICustomization
struct AutocompleteUICustomization
UI customizations for the Autocomplete place picker.
-
Initializes an AutocompleteUICustomization with the given parameters.
Parameters
listDensity
|
The content density of the suggestion list.
|
listItemIcon
|
The icon to display at the leading edge of each list item.
|
-
The content density of the suggestion list.
-
The icon to display at the leading edge of each list item.
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."],[],[],null,["# GooglePlacesSwift Framework Reference\n\nAutocompleteUICustomization\n===========================\n\n struct AutocompleteUICustomization\n\nUI customizations for the Autocomplete place picker.\n- `\n ``\n ``\n `\n\n ### [init(listDensity:listItemIcon:)](#/s:17GooglePlacesSwift27AutocompleteUICustomizationV11listDensity0F8ItemIconAcA0d4ListG0O_AA0D6UIIconOtcfc)\n\n `\n ` \n Initializes an AutocompleteUICustomization with the given parameters. \n\n #### Declaration\n\n Swift \n\n init(listDensity: ../Enums/AutocompleteListDensity.html = .twoLine, listItemIcon: ../Enums/AutocompleteUIIcon.html = .defaultIcon)\n\n #### Parameters\n\n |----------------------|------------------------------------------------------------|\n | ` `*listDensity*` ` | The content density of the suggestion list. |\n | ` `*listItemIcon*` ` | The icon to display at the leading edge of each list item. |\n\n- `\n ``\n ``\n `\n\n ### [listDensity](#/s:17GooglePlacesSwift27AutocompleteUICustomizationV11listDensityAA0d4ListG0Ovp)\n\n `\n ` \n The content density of the suggestion list. \n\n #### Declaration\n\n Swift \n\n var listDensity: ../Enums/AutocompleteListDensity.html\n\n- `\n ``\n ``\n `\n\n ### [listItemIcon](#/s:17GooglePlacesSwift27AutocompleteUICustomizationV12listItemIconAA0D6UIIconOvp)\n\n `\n ` \n The icon to display at the leading edge of each list item. \n\n #### Declaration\n\n Swift \n\n var listItemIcon: ../Enums/AutocompleteUIIcon.html"]]