---
title: "scrollViewDidEndZooming(_:with:atScale:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiscrollviewdelegate/scrollviewdidendzooming(_:with:atscale:)"
---

# scrollViewDidEndZooming(_:with:atScale:)

Tells the delegate when zooming of the content in the scroll view completed.

## Declaration

```swift
optional func scrollViewDidEndZooming(_ scrollView: UIScrollView, with view: UIView?, atScale scale: CGFloat)
```

## Parameters

- `scrollView`: The scroll-view object displaying the content view.
- `view`: The view object representing that part of the content view that needs to be scaled.
- `scale`: The scale factor to use for scaling; this value must be between the limits established by the UIScrollView properties doc://com.apple.uikit/documentation/UIKit/UIScrollView/maximumZoomScale and doc://com.apple.uikit/documentation/UIKit/UIScrollView/minimumZoomScale.

## Discussion

Discussion The scroll view also calls this method after any “bounce” animations. It also calls this method after animated changes to the zoom level and after a zoom-related gesture ends (regardless of whether the gesture resulted in a change to the zoom level).

## See Also

### Managing zooming

- [viewForZooming(in:)](uikit/uiscrollviewdelegate/viewforzooming(in:).md)
- [scrollViewWillBeginZooming(_:with:)](uikit/uiscrollviewdelegate/scrollviewwillbeginzooming(_:with:).md)
- [scrollViewDidZoom(_:)](uikit/uiscrollviewdelegate/scrollviewdidzoom(_:).md)
