Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

2023 Spatial ComputingPrivacy & Security

WWDC23 · 33 min · Spatial Computing / Privacy & Security

What’s new in privacy

At Apple, we believe that privacy is a fundamental human right. Learn about new technologies on Apple platforms that make it easier for you to implement essential privacy patterns that build customer trust in your app. Discover privacy improvements for Apple’s platforms, as well as a study of how privacy shaped the software architecture and design for the input model on visionOS.

Watch at developer.apple.com ↗

Transcript all transcripts

Chapters

Code shown on screen · 1 snippet

Detect sensitive content swift · at 16:00 ↗
// Analyzing photos

let analyzer = SCSensitivityAnalyzer()
let policy = analyzer.analysisPolicy

let result = try await analyzer.analyzeImage(at: url)
let result = try await analyzer.analyzeImage(image.cgImage!)

// Analyzing videos
let handler = analyzer.videoAnalysis(forFileAt: url)
let result = try await handler.hasSensitiveContent()

if result.isSensitive {
    intervene(policy)
}

Resources