<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIViewAnimationOptions"
  },
  "title" : "UIView.AnimationOptions"
}
-->

# UIView.AnimationOptions

Options for animating views using block objects.

```
struct AnimationOptions
```

## Topics

### Constants

[`UIViewAnimationOptionLayoutSubviews`](/documentation/UIKit/UIView/AnimationOptions/layoutSubviews)

Lay out subviews at commit time so that they are animated along with their parent.

[`UIViewAnimationOptionAllowUserInteraction`](/documentation/UIKit/UIView/AnimationOptions/allowUserInteraction)

Allow the user to interact with views while they are being animated.

[`UIViewAnimationOptionBeginFromCurrentState`](/documentation/UIKit/UIView/AnimationOptions/beginFromCurrentState)

Start the animation from the current setting associated with an already in-flight animation.

[`UIViewAnimationOptionRepeat`](/documentation/UIKit/UIView/AnimationOptions/repeat)

Repeat the animation indefinitely.

[`UIViewAnimationOptionAutoreverse`](/documentation/UIKit/UIView/AnimationOptions/autoreverse)

Run the animation backwards and forwards (must be combined with the repeat option).

[`UIViewAnimationOptionOverrideInheritedDuration`](/documentation/UIKit/UIView/AnimationOptions/overrideInheritedDuration)

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

[`UIViewAnimationOptionOverrideInheritedCurve`](/documentation/UIKit/UIView/AnimationOptions/overrideInheritedCurve)

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

[`UIViewAnimationOptionAllowAnimatedContent`](/documentation/UIKit/UIView/AnimationOptions/allowAnimatedContent)

Animate the views by changing the property values dynamically and redrawing the view.

[`UIViewAnimationOptionShowHideTransitionViews`](/documentation/UIKit/UIView/AnimationOptions/showHideTransitionViews)

Hide or show views during a view transition.

[`UIViewAnimationOptionOverrideInheritedOptions`](/documentation/UIKit/UIView/AnimationOptions/overrideInheritedOptions)

The option to not inherit the animation type or any options.

[`UIViewAnimationOptionCurveEaseInOut`](/documentation/UIKit/UIView/AnimationOptions/curveEaseInOut)

Specify an ease-in ease-out curve, which causes the animation to begin slowly, accelerate through the middle of its duration, and then slow again before completing.

[`UIViewAnimationOptionCurveEaseIn`](/documentation/UIKit/UIView/AnimationOptions/curveEaseIn)

An ease-in curve causes the animation to begin slowly, and then speed up as it progresses.

[`UIViewAnimationOptionCurveEaseOut`](/documentation/UIKit/UIView/AnimationOptions/curveEaseOut)

An ease-out curve causes the animation to begin quickly, and then slow as it completes.

[`UIViewAnimationOptionCurveLinear`](/documentation/UIKit/UIView/AnimationOptions/curveLinear)

A linear animation curve causes an animation to occur evenly over its duration.

[`UIViewAnimationOptionTransitionNone`](/documentation/UIKit/UIViewAnimationOptions/UIViewAnimationOptionTransitionNone)

No transition is specified.

[`UIViewAnimationOptionTransitionFlipFromLeft`](/documentation/UIKit/UIView/AnimationOptions/transitionFlipFromLeft)

A transition that flips a view around its vertical axis from left to right (the left side of the view moves toward the front and right side toward the back).

[`UIViewAnimationOptionTransitionFlipFromRight`](/documentation/UIKit/UIView/AnimationOptions/transitionFlipFromRight)

A transition that flips a view around its vertical axis from right to left (the right side of the view moves toward the front and left side toward the back).

[`UIViewAnimationOptionTransitionCurlUp`](/documentation/UIKit/UIView/AnimationOptions/transitionCurlUp)

A transition that curls a view up from the bottom.

[`UIViewAnimationOptionTransitionCurlDown`](/documentation/UIKit/UIView/AnimationOptions/transitionCurlDown)

A transition that curls a view down from the top.

[`UIViewAnimationOptionTransitionCrossDissolve`](/documentation/UIKit/UIView/AnimationOptions/transitionCrossDissolve)

A transition that dissolves from one view to the next.

[`UIViewAnimationOptionTransitionFlipFromTop`](/documentation/UIKit/UIView/AnimationOptions/transitionFlipFromTop)

A transition that flips a view around its horizontal axis from top to bottom (the top side of the view moves toward the front and the bottom side toward the back).

[`UIViewAnimationOptionTransitionFlipFromBottom`](/documentation/UIKit/UIView/AnimationOptions/transitionFlipFromBottom)

A transition that flips a view around its horizontal axis from bottom to top (the bottom side of the view moves toward the front and the top side toward the back).

[`UIViewAnimationOptionPreferredFramesPerSecondDefault`](/documentation/UIKit/UIViewAnimationOptions/UIViewAnimationOptionPreferredFramesPerSecondDefault)

The default number of frames per second.

[`UIViewAnimationOptionPreferredFramesPerSecond30`](/documentation/UIKit/UIView/AnimationOptions/preferredFramesPerSecond30)

A frame rate of 30 frames per second.

[`UIViewAnimationOptionPreferredFramesPerSecond60`](/documentation/UIKit/UIView/AnimationOptions/preferredFramesPerSecond60)

A frame rate of 60 frames per second.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIView/AnimationOptions/init(rawValue:))

Creates an animation options structure with the specified raw value.

## Relationships

### Conforms To

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

---

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)