UIView.ActionForLayer(CALayer, String) 方法

定义

检索目标 标识的默认值 CAAction

[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

参数

layer
CALayer
eventKey
String

返回

如果没有指定的行为,此方法可能会返回 null

属性

适用于