Contents

activitySystemActionForegroundColor(_:)

The text color for the auxiliary action button that the system shows next to a Live Activity on the Lock Screen.

Declaration

@MainActor @preconcurrency func activitySystemActionForegroundColor(_ color: Color?) -> some View

Parameters

  • color:

    The text color to use. Pass nil to use the system’s default color.

See Also

Configuring a Live Activity