Instance Property

itemTitles

An array of NSString objects containing the titles of every item in the menu.

Declaration

@property(readonly, copy) NSArray<NSString *> *itemTitles;

Discussion

The titles appear in the order in which the items appear in the menu. If the menu contains separator items, the array contains an empty string (@"") for each separator item.

See Also

Title conveniences

- itemTitleAtIndex:

Returns the title of the item at the specified index.

titleOfSelectedItem

The title of the item last selected by the user.