Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 =
Name | Value | Description |
---|---|---|
CalculationModeLinear | 0 | Use a simple linear calculation for interpolating between keyframe values. |
LayoutSubviews | 1 | The option to layout subviews at commit time so they animate with their parent. |
AllowUserInteraction | 2 | Whether the user can interact with the views while they are being animated. |
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. |
Repeat | 8 | Whether to repeat the animation indefinitely. |
Autoreverse | 16 | Whether to run the animation in both directions. Must be combined with the Repeat option. |
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 | 512 | Whether to not inherit the animation type or any options. |
CalculationModeDiscrete | 1024 | Does not interpolate keyframe values; jumps directly to each keyframe value. |
CalculationModePaced | 2048 | Use a simple even-pacing algorithm to interpolate between keyframe values. |
CalculationModeCubic | 3072 | Use a Catmull-Rom spline to interpolate between keyframe values. The Catmull-Rom parameter is not available for manipulation. |
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. |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in