Partager via


UIView.ActionForLayer(CALayer, String) Méthode

Définition

Récupère la valeur par défaut CAAction identifiée par qui cible .

[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

Paramètres

layer
CALayer
eventKey
String

Retours

Cette méthode peut retourner null s’il n’existe aucun comportement spécifié.

Attributs

S’applique à