---
title: "managedContentStyle(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/managedcontentstyle(_:)"
---

# managedContentStyle(_:)

Applies a managed content style to the view.

## Declaration

```swift
@MainActor @preconcurrency func managedContentStyle(_ style: ManagedContentStyle) -> some View

```

## Parameters

- `style`: The style to apply to the view.

## Return Value

Return Value The styled view.

## See Also

### Working with managed devices

- [automatedDeviceEnrollmentAddition(isPresented:)](swiftui/view/automateddeviceenrollmentaddition(ispresented:).md)
