Contents

complicationForeground()

Promotes this view to the foreground in a complication.

Declaration

@MainActor @preconcurrency func complicationForeground() -> some View

Return Value

A view that is in the complication foreground.

Discussion

A view in the foreground will be tinted alongside other foreground views. The color for both the foreground and background layers is determined by the watch face.

See Also

Appearance modifiers