Dual Capture Applicability on iPhone Duo

Does iPhone Duo support Dual Capture for video recording in all fold states?

Answered by Media Engineer in 906388022

You cannot use the inner built in ultra wide camera when the inner display is closed (for any camera case). Otherwise the cameras are available at any time.

Accepted Answer

You cannot use the inner built in ultra wide camera when the inner display is closed (for any camera case). Otherwise the cameras are available at any time.

Can we dynamically/programmatically determine this state:

when the inner display is closed

with code such as: .onHingeChange { hingeState in isClosed = (hingeState.status == .closed) }

Please don't use hinge changes to determine what cameras are available. Instead, use the AVCaptureDeviceDirectionCoordinator. It will tell you which cameras are available for the given UIView. Then as the system moves your scene to different displays, you'll know which cameras are available.

Dual Capture Applicability on iPhone Duo
 
 
Q