---
title: endRefreshing()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uirefreshcontrol/endrefreshing()
---

# endRefreshing()

Tells the control that a refresh operation has ended.

## Declaration

```swift
func endRefreshing()
```

## Discussion

Discussion Call this method at the end of any refresh operation (whether it was initiated programmatically or by the user) to return the refresh control to its default state. If the refresh control is at least partially visible, calling this method also hides it. If animations are also enabled, the control is hidden using an animation.

## See Also

### Managing the refresh status

- [beginRefreshing()](uikit/uirefreshcontrol/beginrefreshing().md)
- [isRefreshing](uikit/uirefreshcontrol/isrefreshing.md)
