---
title: "animateChanges(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uisheetpresentationcontroller/animatechanges(_:)"
---

# animateChanges(_:)

Animates the UI changes to the sheet’s properties.

## Declaration

```swift
func animateChanges(_ changes: () -> Void)
```

## Parameters

- `changes`: A block where you change the sheet’s properties to animate them.

## Discussion

Discussion To animate changes to any of the sheet’s properties, set them inside the block that you pass to this method. By the time this method returns, layout finishes for the sheet, all adjacent sheets in the sheet stack, and their subviews.
