---
title: complicationForeground()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/view/complicationforeground()
---

# complicationForeground()

Promotes this view to the foreground in a complication.

## Declaration

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

```

## Return Value

Return Value A view that is in the complication foreground.

## Discussion

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

- [colorScheme(_:)](swiftui/view/colorscheme(_:).md)
- [listRowPlatterColor(_:)](swiftui/view/listrowplattercolor(_:).md)
- [background(_:alignment:)](swiftui/view/background(_:alignment:).md)
- [overlay(_:alignment:)](swiftui/view/overlay(_:alignment:).md)
- [foregroundColor(_:)](swiftui/view/foregroundcolor(_:).md)
