---
title: UIView.KeyframeAnimationOptions
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uiview/keyframeanimationoptions
---

# UIView.KeyframeAnimationOptions

Options for configuring keyframe-based animations.

## Declaration

```swift
struct KeyframeAnimationOptions
```

## Overview

Overview Use these options with the animateKeyframes(withDuration:delay:options:animations:completion:) method.

## Topics

### 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)
- [overrideInheritedDuration](uikit/uiview/keyframeanimationoptions/overrideinheritedduration.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)

### Initializers

- [init(rawValue:)](uikit/uiview/keyframeanimationoptions/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Constants

- [UIView.AnimationCurve](uikit/uiview/animationcurve.md)
- [UIView.AnimationOptions](uikit/uiview/animationoptions.md)
- [UIView.AnimationTransition](uikit/uiview/animationtransition.md)
- [UIView.SystemAnimation](uikit/uiview/systemanimation.md)
- [NSLayoutConstraint.Axis](uikit/nslayoutconstraint/axis.md)
- [UIView.TintAdjustmentMode](uikit/uiview/tintadjustmentmode-swift.enum.md)
- [layoutFittingCompressedSize](uikit/uiview/layoutfittingcompressedsize.md)
- [layoutFittingExpandedSize](uikit/uiview/layoutfittingexpandedsize.md)
- [noIntrinsicMetric](uikit/uiview/nointrinsicmetric.md)
- [UIView.AutoresizingMask](uikit/uiview/autoresizingmask-swift.struct.md)
- [UISemanticContentAttribute](uikit/uisemanticcontentattribute.md)
