Skip to main content

Menu Action

An action that adds a menu item to a native menu.

Updated over a week ago

Overview

A Menu Action adds a menu item to a native menu or a native menu's submenu. Menu Actions can only be added to Context Menu triggers, Button Menu triggers, Bar Item Menu triggers, or Submenu actions.

When tapped, Menu Actions can fire other actions. If desired, add those other actions onto the Menu Action.


Trigger Properties

Title

Set the menu item’s title. To remove the title, just set this property to empty.

Subtitle

Set the menu item’s subtitle. To remove the subtitle, just set this property to empty.

Image

Select the menu item’s SF Symbol.

Tint Color

If an SF Symbol is selected, choose its tint color.

State

Set the menu item’s state to on, off, or mixed:

  • On: The menu item begins selected and displays a check mark.

  • Off: The menu item begins unselected and does not display a check mark.

  • Mixed: The menu item displays a dash, indicating that it is neither on nor off.

Destructive

Choose if the menu item displays in red. This overrides the tint color.

Disabled

Choose if the menu item is disabled. If on, the menu will appear gray and will not be interactive. The menu item can be reenabled through interaction.

Hidden

Choose if the menu item is hidden.

Keeps Menu Presented

Choose if the menu should stay open when the menu item is tapped.


Did this answer your question?