<!--
{
  "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

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

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

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

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

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

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

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

Repeat the animation indefinitely.

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

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

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

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

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

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

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

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

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

Hide or show views during a view transition.

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

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

[`curveEaseInOut`](/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.

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

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

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

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

[`curveLinear`](/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.

[`transitionFlipFromLeft`](/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).

[`transitionFlipFromRight`](/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).

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

A transition that curls a view up from the bottom.

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

A transition that curls a view down from the top.

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

A transition that dissolves from one view to the next.

[`transitionFlipFromTop`](/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).

[`transitionFlipFromBottom`](/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.

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

A frame rate of 30 frames per second.

[`preferredFramesPerSecond60`](/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.



---

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)