共用方式為


UIMenuController.SetTargetRect(CGRect, UIView) 方法

定義

設定上方或下方的位置,讓系統顯示功能表。

[Foundation.Export("setTargetRect:inView:")]
public virtual void SetTargetRect (CoreGraphics.CGRect rect, UIKit.UIView inView);
abstract member SetTargetRect : CoreGraphics.CGRect * UIKit.UIView -> unit
override this.SetTargetRect : CoreGraphics.CGRect * UIKit.UIView -> unit

參數

rect
CGRect
inView
UIView
屬性

適用於