selectItem(withTitle:)
Selects the item with the specified title.
Declaration
func selectItem(withTitle title: String)Parameters
- title:
The title of the item to select. If you specify an empty string, or a string that does not match the title of a menu item, this method deselects the currently selected item.