AVMultiCamPiP: Capturing from Multiple Cameras
Simultaneously record the output from the front and back cameras into a single movie file by using a multi-camera capture session.
Overview
Configure the sample code project
You must run this sample code on one of these devices:
An iPhone with an A12 or later processor
An iPad Pro with an A12X or later processor
See Also
Capture sessions
Setting up a capture sessionAccessing the camera while multitasking on iPadAVCam: Building a camera appBuild a responsive camera app that launches quicklyCapturing Cinematic videoSupporting Center Stage front camera in your iOS appAVCamBarcode: detecting barcodes and facesAVCaptureSessionAVCaptureMultiCamSessionAVCaptureInputAVCaptureOutputAVCaptureConnection