---
title: AVCaptureSmartFramingMonitor
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avcapturesmartframingmonitor
---

# AVCaptureSmartFramingMonitor

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

## Declaration

```swift
class AVCaptureSmartFramingMonitor
```

## Mentioned in

Adopting smart framing in your camera app

## Overview

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

- [supportedFramings](avfoundation/avcapturesmartframingmonitor/supportedframings.md)
- [enabledFramings](avfoundation/avcapturesmartframingmonitor/enabledframings.md)
- [recommendedFraming](avfoundation/avcapturesmartframingmonitor/recommendedframing.md)

### Managing the life cycle

- [isMonitoring](avfoundation/avcapturesmartframingmonitor/ismonitoring.md)
- [startMonitoring()](avfoundation/avcapturesmartframingmonitor/startmonitoring().md)
- [stopMonitoring()](avfoundation/avcapturesmartframingmonitor/stopmonitoring().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Observable](observation/observable.md)

## See Also

### Configuring smart framing

- [smartFramingMonitor](avfoundation/avcapturedevice/smartframingmonitor.md)
- [AVCaptureFraming](avfoundation/avcaptureframing.md)
