---
title: overrideInheritedDuration
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiview/keyframeanimationoptions/overrideinheritedduration
---

# overrideInheritedDuration

The option to force an animation to use the original duration value specified when the animation was submitted.

## Declaration

```swift
static var overrideInheritedDuration: UIView.KeyframeAnimationOptions { get }
```

## Discussion

Discussion If this option isn’t present, the animation inherits the remaining duration of the in-flight animation, if any.

## See Also

### Constants

- [layoutSubviews](uikit/uiview/keyframeanimationoptions/layoutsubviews.md)
- [allowUserInteraction](uikit/uiview/keyframeanimationoptions/allowuserinteraction.md)
- [beginFromCurrentState](uikit/uiview/keyframeanimationoptions/beginfromcurrentstate.md)
- [repeat](uikit/uiview/keyframeanimationoptions/repeat.md)
- [autoreverse](uikit/uiview/keyframeanimationoptions/autoreverse.md)
- [overrideInheritedOptions](uikit/uiview/keyframeanimationoptions/overrideinheritedoptions.md)
- [calculationModeLinear](uikit/uiview/keyframeanimationoptions/calculationmodelinear.md)
- [calculationModeDiscrete](uikit/uiview/keyframeanimationoptions/calculationmodediscrete.md)
- [calculationModePaced](uikit/uiview/keyframeanimationoptions/calculationmodepaced.md)
- [calculationModeCubic](uikit/uiview/keyframeanimationoptions/calculationmodecubic.md)
- [calculationModeCubicPaced](uikit/uiview/keyframeanimationoptions/calculationmodecubicpaced.md)
