Compartir a través de


UIView.AddInteraction(IUIInteraction) Método

Definición

Agrega la interacción a la vista.

[Foundation.Export("addInteraction:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddInteraction (UIKit.IUIInteraction interaction);
abstract member AddInteraction : UIKit.IUIInteraction -> unit
override this.AddInteraction : UIKit.IUIInteraction -> unit

Parámetros

interaction
IUIInteraction

Interacción que se va a agregar.

Atributos

Se aplica a