setFocusModeLocked doesnot work on iphone 11

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()
                        

                                                                    })
                                                            })

Replies

Experiencing the same with iPhone 11 Pro!

https://drive.google.com/file/d/1VzGfNeNmKWQ49pCAkHMQAsrVYjcPwTU3/view?usp=sharing


UPDATE:

Updating the iPhone(from iOS 13.1.3) to the latest iOS version(13.2.2) fixed the issue for me!