Instance Property


The custom menu items for the editing menu.


var menuItems: [UIMenuItem]? { get set }


The default value is nil (no custom menu items). Each menu item is an instance of the UIMenuItem class. You may create your own menu items, each with its own title and action selector, and add them to the editing menu through this property. Custom items appear in the menu after any system menu items.