共用方式為


UIActionSheet.ShowFrom 方法

定義

多載

ShowFrom(UIBarButtonItem, Boolean)

顯示列按鈕的動作表。

ShowFrom(CGRect, UIView, Boolean)

ShowFrom(UIBarButtonItem, Boolean)

顯示列按鈕的動作表。

[Foundation.Export("showFromBarButtonItem:animated:")]
public virtual void ShowFrom (UIKit.UIBarButtonItem item, bool animated);
abstract member ShowFrom : UIKit.UIBarButtonItem * bool -> unit
override this.ShowFrom : UIKit.UIBarButtonItem * bool -> unit

參數

item
UIBarButtonItem

UIBarButtonItem動作表單源自的 。

animated
Boolean

如果 true 為 ,則會以動畫顯示動作表。

屬性

備註

這會從按鈕欄顯示動作表。

適用於

ShowFrom(CGRect, UIView, Boolean)

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

參數

rect
CGRect
inView
UIView
animated
Boolean
屬性

適用於