Contents

AVCaptureSmartFramingMonitor

An object associated with a capture device that monitors the scene and suggests an optimal framing.

Declaration

class AVCaptureSmartFramingMonitor

Mentioned in

Overview

A smart framing monitor observes its associated device for objects of interest entering and exiting the camera’s field of view and recommends an optimal framing for good photographic composition. This framing recommendation consists of an aspect ratio and zoom factor. You may respond to the device’s framing recommendation by calling setDynamicAspectRatio(_:completionHandler:) and setting videoZoomFactor on the associated device in whatever order best matches your animation between old and new framings.

Topics

Configuring framings

Managing the life cycle

See Also

Configuring smart framing