iOS 17: SensitiveContentAnalysis framework always disabled in Share Extension

Hi,

I've successfully implemented the SensitiveContentAnalysis framework in my app for iOS 17 users.

However, when I try to do the same in my Share Extension, the SensitivityAnalyzer analysisPolicy var always return .disabled.

Is it a bug or do the SensitiveContentAnalysis framework doesn't work in App Extensions?

Answered by Abxooloo in 765053022

Ok, my bad, the extension was missing the SensitiveContentAnalysis capability. It works perfectly now.

Accepted Answer

Ok, my bad, the extension was missing the SensitiveContentAnalysis capability. It works perfectly now.

iOS 17: SensitiveContentAnalysis framework always disabled in Share Extension
 
 
Q