共用方式為


UIView.RemoveInteraction(IUIInteraction) 方法

定義

從檢視中移除互動。

[Foundation.Export("removeInteraction:")]
[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 RemoveInteraction (UIKit.IUIInteraction interaction);
abstract member RemoveInteraction : UIKit.IUIInteraction -> unit
override this.RemoveInteraction : UIKit.IUIInteraction -> unit

參數

interaction
IUIInteraction

要移除的互動。

屬性

適用於