---
title: stopMonitoring()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avcapturesmartframingmonitor/stopmonitoring()
---

# stopMonitoring()

Stops monitoring the device’s active scene and making framing recommendations.

## Declaration

```swift
func stopMonitoring()
```

## Mentioned in

Adopting smart framing in your camera app

## Discussion

Discussion The monitor’s recommendedFraming is nil when it is not actively running. Call this method to stop actively monitoring the scene and making framing recommendations. You may start monitoring before or after calling startRunning(), and may stop active monitoring without stopping the capture session by calling stopMonitoring() at any time.

## See Also

### Managing the life cycle

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