UIViewAnimationOptions 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
UIViewAnimationOptionsUIViewAnimationOptions
Attributes

Fields

AllowAnimatedContent 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 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 Autoreverse 16

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

BeginFromCurrentState BeginFromCurrentState 4

Starts the animation from the current view state.

CurveEaseIn CurveEaseIn 65536

Uses an EaseIn animation.

CurveEaseInOut CurveEaseInOut 0

Uses an EasyInOut animation.

CurveEaseOut CurveEaseOut 131072

Uses an EaseOut animation.

CurveLinear CurveLinear 196608

Uses a linear animation.

LayoutSubviews LayoutSubviews 1

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

OverrideInheritedCurve 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 OverrideInheritedDuration 32

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

OverrideInheritedOptions OverrideInheritedOptions 512

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

PreferredFramesPerSecond30 PreferredFramesPerSecond30 117440512

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

PreferredFramesPerSecond60 PreferredFramesPerSecond60 50331648

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

PreferredFramesPerSecondDefault PreferredFramesPerSecondDefault 0

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

Repeat Repeat 8

If set, the animation will repeat.

ShowHideTransitionViews 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 TransitionCrossDissolve 5242880

A transition that dissolves between views.

TransitionCurlDown TransitionCurlDown 4194304

A transition that curls a view down from the top.

TransitionCurlUp TransitionCurlUp 3145728

A transition that curls a view up from the bottom.

TransitionFlipFromBottom 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 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 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 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 TransitionNone 0

No transition.

Applies to