<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensitiveContentAnalysis",
  "identifier" : "/documentation/SensitiveContentAnalysis/SCSensitivityAnalyzer/analysisPolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Sensitive Content Analysis"
    ],
    "preciseIdentifier" : "c:objc(cs)SCSensitivityAnalyzer(py)analysisPolicy"
  },
  "title" : "analysisPolicy"
}
-->

# analysisPolicy

A property that determines if the app detects nudity and how the app responds.

```
var analysisPolicy: SCSensitivityAnalysisPolicy { get }
```

## Discussion

Before attempting to use the framework, first check the [`analysisPolicy`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalyzer/analysisPolicy):

```swift
let policy = analyzer.analysisPolicy
if policy == .disabled { return }
```

An app can utilize the Sensitive Content Analysis framework when the system sets the value of this property to either:

- [`SCSensitivityAnalysisPolicy.simpleInterventions`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysisPolicy/simpleInterventions), which indicates that someone activates the Communication Safety parental control in Screen Time.
- [`SCSensitivityAnalysisPolicy.descriptiveInterventions`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysisPolicy/descriptiveInterventions), which indicates that someone activates the Sensitive Content Warning user preference.

The framework won’t detect nudity if the system disables this property. For more information on why the system disables sensitive content analysis, see [`SCSensitivityAnalysisPolicy.disabled`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysisPolicy/disabled).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)