isMultitaskingCameraAccessSupported
A Boolean value that indicates whether the capture session supports using the camera while multitasking.
Declaration
var isMultitaskingCameraAccessSupported: Bool { get }Discussion
Query this property to determine whether you can use the camera while multitasking by setting the state of the isMultitaskingCameraAccessEnabled property to true.
In iOS and iPadOS, this property is true for any of the following cases:
The app runs on an iPad that supports Stage Manager with an extended display.
The app links against iOS 18 or later and uses
voipas one of its UIBackgroundModes.The app has the com.apple.developer.avfoundation.multitasking-camera-access entitlement.
In tvOS, this property is always true.
To learn about best practices for using the camera while multitasking, see Accessing the camera while multitasking on iPad.