Post

Replies

Boosts

Views

Activity

Reply to Crash in AVCaptureDevice.requestAccess in iOS 18 with swift 6
I found a potential fix for this issue: The async method needs to be called instead of the one with the completion handler. Task { let accessIsGranted = await AVCaptureDevice.requestAccess(for: .video) }
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Feb ’25