Post

Replies

Boosts

Views

Activity

Reply to iOS 13 : apps with camera AV session freeze :
Hi, I am also facing this issue & trying to look into it. I am getting this error Capture session runtime error: related decl 'e' for AVError(_nsError: Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedDescription=Cannot Complete Action, NSLocalizedRecoverySuggestion=Try again later.}) Right now, try commenting out the all the code where you add or remove Observers to & from NotificationCenter. And then debug the app. Comment all the code lines which are related to NotificationCenter. & then slowly slowly debug the app and move forward. NotificationCenter.default.removeObserver(self, name: .AVCaptureDeviceSubjectAreaDidChange, object: currentVideoDevice) NotificationCenter.default.addObserver(self, selector: #selector(self.subjectAreaDidChange), name: .AVCaptureDeviceSubjectAreaDidChange, object: videoDeviceInput.device) I will update the answer if I found anything more helpful. Thanks
Aug ’20
Reply to Aspiring Developer
• Apple Developer : https://developer.apple.com/tutorials/swiftui • DesignCode • HackingWithSwift • RayWenderlich • Stanford 2020 iOS Development Course by Paul Hegarty on YouTube. Checkout all the above resources & start with the one you feel comfortable.
Jun ’20