UIView.AddInteraction(IUIInteraction) Метод

Определение

Добавляет взаимодействие в представление.

[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

Параметры

interaction
IUIInteraction

Добавляемый элемент взаимодействия.

Атрибуты

Применяется к