---
title: "scrollViewDidEndScrollingAnimation(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiscrollviewdelegate/scrollviewdidendscrollinganimation(_:)"
---

# scrollViewDidEndScrollingAnimation(_:)

Tells the delegate when a scrolling animation in the scroll view concludes.

## Declaration

```swift
optional func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
```

## Parameters

- `scrollView`: The scroll-view object that’s performing the scrolling animation.

## Discussion

Discussion The scroll view calls this method at the end of its implementations of the setContentOffset(_:animated:) and scrollRectToVisible(_:animated:) methods, but only if animations are requested.
