---
title: isMultitaskingCameraAccessEnabled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturesession/ismultitaskingcameraaccessenabled
---

# isMultitaskingCameraAccessEnabled

A Boolean value that indicates whether the capture session enables access to the camera while multitasking.

## Declaration

```swift
var isMultitaskingCameraAccessEnabled: Bool { get set }
```

## Discussion

Discussion The default value is false. important: For apps that have the com.apple.developer.avfoundation.multitasking-camera-access entitlement, this property value defaults to true if isMultitaskingCameraAccessSupported is also true. If the value of the isMultitaskingCameraAccessSupported property is true, you can enable multitasking camera access by setting this value to true prior to starting the capture session. This property is key-value observable. note: If you enable multitasking camera access, the system doesn’t interrupt the capture session with a reason of AVCaptureSession.InterruptionReason.videoDeviceNotAvailableWithMultipleForegroundApps. To learn about best practices for using the camera while multitasking, see Accessing the camera while multitasking on iPad.

## See Also

### Configuring multitasking

- [isMultitaskingCameraAccessSupported](avfoundation/avcapturesession/ismultitaskingcameraaccesssupported.md)
