Contents

itemTitles

An array of strings corresponding to the titles of the items in the menu.

Declaration

var itemTitles: [String] { get }

Discussion

This property contains an array of NSString objects, each of which contains the title of an item in the menu. The order of the titles in this array matches the order of the items in the menu. If the menu contains separator items, the array contains an empty string for each separator item.

See Also

Getting menu items