UIView.ActionForLayer(CALayer, String) Method

Definition

Retrieves the default CAAction identified by that targets .

[Foundation.Export("actionForLayer:forKey:")]
public virtual Foundation.NSObject ActionForLayer (CoreAnimation.CALayer layer, string eventKey);
abstract member ActionForLayer : CoreAnimation.CALayer * string -> Foundation.NSObject
override this.ActionForLayer : CoreAnimation.CALayer * string -> Foundation.NSObject

Parameters

layer
CALayer
eventKey
String

Returns

NSObject

This method may return null if there is no specified behavior.

Attributes

Applies to