UIView.AddInteraction(IUIInteraction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the interaction to the view.
[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
Parameters
- interaction
- IUIInteraction
The interaction to add.
- Attributes