Contents

action(for:)

Gets the action for the specified action identifier.

Declaration

func action(for identifier: UIAction.Identifier) -> UIAction?

Parameters

  • identifier:

    The identifier of the action to retrieve.

Return Value

An action object; otherwise, nil if there are no actions with the specified identifier.

See Also

Getting menu systems and elements