UIViewKeyframeAnimationOptions UIViewKeyframeAnimationOptions Enum

Definition

An enumeration whose values specify valid options for the AnimateKeyframes(Double, Double, UIViewKeyframeAnimationOptions, Action, UICompletionHandler) method.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIViewKeyframeAnimationOptions
type UIViewKeyframeAnimationOptions = 
Inheritance
UIViewKeyframeAnimationOptionsUIViewKeyframeAnimationOptions
Attributes

Fields

AllowUserInteraction AllowUserInteraction 2

Whether the user can interact with the views while they are being animated.

Autoreverse Autoreverse 16

Whether to run the animation in both directions. Must be combined with the Repeat option.

BeginFromCurrentState BeginFromCurrentState 4

Whether to start an animation from the current setting of the in-flight animation. If not set, in-flight animations are allowed to finish before the new animation is started.

CalculationModeCubic CalculationModeCubic 3072

Use a Catmull-Rom spline to interpolate between keyframe values. The Catmull-Rom parameter is not available for manipulation.

CalculationModeCubicPaced CalculationModeCubicPaced 4096

Use a cubic scheme to compute intermediate frames, ignoring timing properties. Timing parameters are implicitly calculated to give the animation a constant velocity.

CalculationModeDiscrete CalculationModeDiscrete 1024

Does not interpolate keyframe values; jumps directly to each keyframe value.

CalculationModeLinear CalculationModeLinear 0

Use a simple linear calculation for interpolating between keyframe values.

CalculationModePaced CalculationModePaced 2048

Use a simple even-pacing algorithm to interpolate between keyframe values.

LayoutSubviews LayoutSubviews 1

The option to layout subviews at commit time so they animate with their parent.

OverrideInheritedDuration OverrideInheritedDuration 32

Whether to force an animation to use the original duration value specified when the animation was submitted. If not set, the animation inherits the remaining duration of the in-flight animation.

OverrideInheritedOptions OverrideInheritedOptions 512

Whether to not inherit the animation type or any options.

Repeat Repeat 8

Whether to repeat the animation indefinitely.

Applies to