---
title: recommendedFraming
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturesmartframingmonitor/recommendedframing
---

# recommendedFraming

The latest recommended framing from the monitor.

## Declaration

```swift
var recommendedFraming: AVCaptureFraming? { get }
```

## Mentioned in

Adopting smart framing in your camera app

## Discussion

Discussion While your AVCaptureSession is running, the monitor continuously observes its device’s scene to recommend the best framing. This recommended framing is always one of the values in enabledFramings. This property may return nil if smart framing isn’t supported for the device in its current configuration. Its default value is nil. This property is key-value observable, and when you observe a change, you may respond to the new recommendation by calling setDynamicAspectRatio(_:completionHandler:) and setting videoZoomFactor on the associated device in whatever order best matches your animation between old and new framings.

## See Also

### Configuring framings

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