Hi,
I have a universal app that uses the camera along with a preview layer (AVCaptureVideoPreviewLayer) to display a preview of the live camera view.
It works fine on an iPhone and fine on an iPad as long as my app is full screen.
However, if I open another app in split-view mode, my app loses its live camera view and freezes on the last frame captured.
I've tried stopping the AVCaptureSession before the transition and restarting it afterward, and even tearing the whole thing down and building a new one, but neither works.
My app is checking permissions and the permissions are fine, and all of the objects created seem valid.
Is there some rule that disallows apps from accessing the camera in split screen mode?
Frank