Contents

AVCaptureDevice.SystemPressureState

An object that provides information about OS and hardware status affecting capture system performance and availability.

Declaration

class SystemPressureState

Overview

The performance and availability of the camera capture system on an iOS device is subject to several external factors, such as power usage and device temperature. If during a capture session the total system pressure reaches excessive levels, the capture system automatically shuts down, causing a session interruption (see wasInterruptedNotification). Under less heavy pressure, the system may automatically reduce capture quality.

Key-value observe the capture device’s systemPressureState property to monitor its state, and take action to reduce the performance impact of your capture session when system pressure increases—for example, by reducing the capture frame rate.

Topics

Overall level

Contributing factors

See Also

Monitoring system pressure