Contents

analysisPolicy

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

Declaration

var analysisPolicy: SCSensitivityAnalysisPolicy { get }

Mentioned in

Discussion

Before attempting to use the framework, first check the analysisPolicy:

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

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

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.