<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/inheritedAnimationDuration",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIView(cpy)inheritedAnimationDuration"
  },
  "title" : "inheritedAnimationDuration"
}
-->

# inheritedAnimationDuration

Returns the inherited duration of the current animation.

```
class var inheritedAnimationDuration: TimeInterval { get }
```

## Return Value

The duration of the current animation.

## Discussion

This method only returns a non-zero value if called within a [`UIView`](/documentation/UIKit/UIView) animation block.

---

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)