Contents

replace(action:with:)

Replace an identified action with menu elements.

Declaration

func replace(action replacedIdentifier: UIAction.Identifier, with replacementElements: [UIMenuElement])

Parameters

  • replacedIdentifier:

    The identifier of the action to be replaced.

  • replacementElements:

    The replacement elements.