Instance Method

setChoices(_:)

Sets the items available in the list or pop-up menu of the choice widget annotation.

Declaration

func setChoices(_ options: [Any]!)

Parameters

options

Send an array of strings, each of which represents an item in the list or pop-up menu of the choice annotation widget.

See Also

Accessing the Items in the Choice Widget Annotation

func choices() -> [Any]!

Returns an array of strings that represent the items available in the list or pop-up menu of the choice widget annotation.

Deprecated