AutocompleteUICustomization
struct AutocompleteUICustomizationUI customizations for the Autocomplete place picker.
-
Initializes an AutocompleteUICustomization with the given parameters.
Declaration
Swift
init(listDensity: AutocompleteListDensity = .twoLine, listItemIcon: AutocompleteUIIcon = .defaultIcon, theme: PlacesMaterialTheme = PlacesMaterialTheme())Parameters
listDensityThe content density of the suggestion list.
listItemIconThe icon to display at the leading edge of each list item.
themeThe theme of the view.
-
The content density of the suggestion list.
Declaration
Swift
var listDensity: AutocompleteListDensity -
The icon to display at the leading edge of each list item.
Declaration
Swift
var listItemIcon: AutocompleteUIIcon -
The theme of the view.
Declaration
Swift
var theme: PlacesMaterialTheme