---
title: redactionReasons
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/redactionreasons
---

# redactionReasons

The current redaction reasons applied to the view hierarchy.

## Declaration

```swift
var redactionReasons: RedactionReasons { get set }
```

## See Also

### Redacting private content

- [Designing your app for the Always On state](watchos-apps/designing-your-app-for-the-always-on-state.md)
- [Protecting sensitive content when screen sharing and remote control are active](swiftui/protecting-sensitive-content-when-screen-sharing.md)
- [privacySensitive(_:)](swiftui/view/privacysensitive(_:).md)
- [redacted(reason:)](swiftui/view/redacted(reason:).md)
- [unredacted()](swiftui/view/unredacted().md)
- [isSceneCaptured](swiftui/environmentvalues/isscenecaptured.md)
- [RedactionReasons](swiftui/redactionreasons.md)
