Edit

Share via


CABasicAnimation.FromKeyPath(String) Method

Definition

Creates an animation from the given key path.

[Foundation.Export("animationWithKeyPath:")]
public static CoreAnimation.CABasicAnimation FromKeyPath (string path);
static member FromKeyPath : string -> CoreAnimation.CABasicAnimation

Parameters

path
String

A string representing the keypath for the animation.

This parameter can be null.

Returns

The new animation.

Attributes

Remarks

See the base class FromKeyPath for information on the values for the key path.

Applies to