UIViewAnimationOptions Enum

Definition

An enumeration indicating animation options.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIViewAnimationOptions
type UIViewAnimationOptions = 
Inheritance
UIViewAnimationOptions
Attributes

Fields

AllowAnimatedContent 128

If set, views are animated by changing their properties and redrawing. If not set, the views are animated using a snapshot image.

AllowUserInteraction 2

This flag instructs the system to keep sending input events to the view during the animation. By default input events are disabled when an animation is taking place.

Autoreverse 16

If set, the animation will automatically reverse once it completes.

BeginFromCurrentState 4

Starts the animation from the current view state.

CurveEaseIn 65536

Uses an EaseIn animation.

CurveEaseInOut 0

Uses an EasyInOut animation.

CurveEaseOut 131072

Uses an EaseOut animation.

CurveLinear 196608

Uses a linear animation.

LayoutSubviews 1

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

OverrideInheritedCurve 64

If set, the animation will use the original curve specified when the animation was submitted, not the curve of the in-flight animation.

OverrideInheritedDuration 32

If set, the animation will use the original duration value, rather than the remaining duration of the in-flight animation.

OverrideInheritedOptions 512

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

PreferredFramesPerSecond30 117440512

Constant that indicates that 30 frames per second are preferred for animations.

PreferredFramesPerSecond60 50331648

Constant that indicates that 60 frames per second are preferred for animations.

PreferredFramesPerSecondDefault 0

Constant that indicates that the default frame rate is preferred for animations.

Repeat 8

If set, the animation will repeat.

ShowHideTransitionViews 256

If set, views are hidden and shown (not removed or added) during transition. Both views must already be in the parent view's hierarchy.

TransitionCrossDissolve 5242880

A transition that dissolves between views.

TransitionCurlDown 4194304

A transition that curls a view down from the top.

TransitionCurlUp 3145728

A transition that curls a view up from the bottom.

TransitionFlipFromBottom 7340032

A transition that flips a view around its horizontal axis from bottom to top. The bottom moves forward and the top moves back.

TransitionFlipFromLeft 1048576

A transition that flips a view around its vertical axis from left to right. The left side comes forward and the right moves backward.

TransitionFlipFromRight 2097152

A transition that flips a view around its vertical axis from right to left. The right side comes forward and the left moves backward.

TransitionFlipFromTop 6291456

A transition that flips a view around its horizontal axis from top to bottom. The top moves forward and the bottom moves back.

TransitionNone 0

No transition.

Applies to