Posts

Post not yet marked as solved
1 Replies
420 Views
So I have a capture system what works perfectly fine on every other device but the completion handler doesnot return anything when it comes to iphone 11 . Here is the code snippet self?.setFocusModeLocked( lensPosition: 0.3, completionHandler: { _ in print("\(self?.lensPosition) at completion set focus mode") InitoLogger.writeLogInFile(AVCaptureDevice.self, .info, "Focal Length set to : \(captureSettings.focalLength)") DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1), execute: { self?.unlockForConfiguration() completion() }) })
Posted
by subham123.
Last updated
.