<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/animate(springDuration:bounce:initialSpringVelocity:delay:options:animations:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So6UIViewC5UIKitE7animate14springDuration6bounce21initialSpringVelocity5delay7options10animations10completionySd_14CoreFoundation7CGFloatVANSdSo0A16AnimationOptionsVyyXEySbcSgtFZ"
  },
  "title" : "animate(springDuration:bounce:initialSpringVelocity:delay:options:animations:completion:)"
}
-->

# animate(springDuration:bounce:initialSpringVelocity:delay:options:animations:completion:)

Animates changes to one or more views using a spring animation with the specified duration, bounce, initial velocity, delay, options, and completion handler.

```
@MainActor @preconcurrency class func animate(springDuration duration: TimeInterval = 0.5, bounce: CGFloat = 0.0, initialSpringVelocity: CGFloat = 0.0, delay: TimeInterval = 0.0, options: UIView.AnimationOptions = [], animations: () -> Void, completion: ((Bool) -> Void)? = nil)
```

## Discussion

> Related sessions from WWDC23:
> Session 10055: [What’s new in UIKit](https://developer.apple.com/videos/play/wwdc2023/10055/)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)