selectItem(at:)
Selects the item in the menu at the specified index.
Declaration
func selectItem(at index: Int)Parameters
- index:
The index of the item you want to select, or
-1you want to deselect all menu items.
Selects the item in the menu at the specified index.
func selectItem(at index: Int)The index of the item you want to select, or -1 you want to deselect all menu items.