Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Youtube:
// Source:
import AVFoundation
let status = AVCaptureDevice.authorizationStatus(for: .video)
switch status {
case .authorized:
case .notDetermined:
print("authorization not requested yet")
print("authorization denied")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.