共用方式為


UISpringLoadedInteraction.WillMoveToView(UIView) 方法

定義

在將互動新增至提供的 view 之前呼叫的方法。

[Foundation.Export("willMoveToView:")]
[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 WillMoveToView (UIKit.UIView view);
abstract member WillMoveToView : UIKit.UIView -> unit
override this.WillMoveToView : UIKit.UIView -> unit

參數

view
UIView

將新增互動的檢視。

實作

屬性

適用於