primaryAction
The action associated with the item.
Declaration
@NSCopying var primaryAction: UIAction? { get set }Discussion
When you assign a new value to this property, the title and image of the item update to match the primary action’s title and image.
If this property has a non-nil value, the system ignores the item’s target and action properties.