UIImagePicker and AVCaptureSession access camera at the same time

I wonder whether it is possible to have a copy AVCaptureSessionand UIImagePickerfor simultaneous access to the camera.

I want to create an application in which the light / ambient light indicator will be displayed on the screen UIImagePickerwhen the camera is active. I previously implemented this with UIGetScreenImage(), but Apple now prohibits the use of this private API in favor AVCaptureSession. In my experiment, AVCaptureSessionit seems paused when it UIImagePickerdisplays a camera view. Any ideas? Thank!

+5
source share
2 answers

UIImagePicker . AVCaptureSession.

, . , . .

, . .

+4

, simutaneoulsly,

0

All Articles