AVCaptureSession preview freezing

I'm currently working on an iPad application that uses a third party sdk to scan a drivers license, and then allows the user to take a picture of themselves. However, when the user is directed to the self photo view, the AVCaptureSession preview will freeze. The app as a whole does not freeze. Only the view preview. I believe this is an issue with the OS, because this only happens on iPad 9s. All the other iPads work fine. Has anyone else seen this issue? Also, is there anyway to see logs from the AVCaptureSession so I can see what is happening? Maybe there is a way I can see when it freezes and then restart it.

Replies

Hello,

There are different ways to set up a video preview, and there are plenty of missing details here. I do not think this is an OS level issue, it would be interesting to know if you are able to reproduce the issue with the AVCam sample code. If not, that would indicate that the issue is likely related to your code.