IOS 13 can show 4 camera previews at the same time?

421 Views Asked by At

I know that IOS13 can display 2 camera previews simultaneously on iPhone 11 Pro and above. I saw the DoubleTake app where they are showing live preview from all the 4 cameras (three back cameras and one front camera). Any pointer on how this can be achieved?

camera selection in DoubleTake app

The above screen shot shows the camera selection part in their app. All the 4 videos are simultaneously showing live. IOS13 supports 2 cameras active at a time on iPhone 11 Pro. How can I display all 4 cameras in my app as seen in this screen?

1

There are 1 best solutions below

1
On

There is an open API for this. You can do it with AVCaptureMultiCamSession, which is a capture session that supports simultaneous capture from multiple inputs of the same media type.

It's a lot of code. For details, pls check out these WWDC 2019 sessions:

And there an excellent sample code project associated with it.