UIActionSheet.ShowFrom Method

Definition

Overloads

ShowFrom(UIBarButtonItem, Boolean)

Displays an action sheet from a bar button.

ShowFrom(CGRect, UIView, Boolean)

ShowFrom(UIBarButtonItem, Boolean)

Displays an action sheet from a bar button.

[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

Parameters

item
UIBarButtonItem

The UIBarButtonItem that the action sheet originated from.

animated
Boolean

If true, then the display of the action sheet will be animated.

Attributes

Remarks

This will display an action sheet from a button bar.

Applies to

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

Parameters

rect
CGRect
inView
UIView
animated
Boolean
Attributes

Applies to