Instance Method

insertChild(_:atEndOfMenu:)

Adds a child menu as the last element of the specified parent menu.

Required.

Declaration

func insertChild(_ childMenu: UIMenu, atEndOfMenu parentIdentifier: UIMenu.Identifier)

Parameters

childMenu

The child menu to insert.

parentIdentifier

The identifier of the parent menu in which to insert the child menu.

See Also

Inserting Child Menus

func insertChild(UIMenu, atStartOfMenu: UIMenu.Identifier)

Adds a child menu as the first element of the specified parent menu.

Required.