<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/AnimationOptions/overrideInheritedDuration",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIViewAnimationOptions@UIViewAnimationOptionOverrideInheritedDuration"
  },
  "title" : "overrideInheritedDuration"
}
-->

# overrideInheritedDuration

Force the animation to use the original duration value specified when the animation was submitted.

```
static var overrideInheritedDuration: UIView.AnimationOptions { get }
```

## Discussion

If this key is not present, the animation inherits the remaining duration of the in-flight animation, if any.

---

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)