Freigeben über


UIView.AddInteraction(IUIInteraction) Methode

Definition

Fügt der Ansicht die Interaktion hinzu.

[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

Parameter

interaction
IUIInteraction

Die hinzuzufügende Interaktion.

Attribute

Gilt für: