編輯

共用方式為


UIDocumentInteractionController.PresentOptionsMenu Method

Definition

Overloads

PresentOptionsMenu(UIBarButtonItem, Boolean)

Presents an options menu and anchors it to the specified UIBarButtonItem.

PresentOptionsMenu(CGRect, UIView, Boolean)

Presents an options menu.

PresentOptionsMenu(UIBarButtonItem, Boolean)

Presents an options menu and anchors it to the specified UIBarButtonItem.

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

Parameters

animated
Boolean

Returns

Attributes

Applies to

PresentOptionsMenu(CGRect, UIView, Boolean)

Presents an options menu.

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

Parameters

rect
CGRect
inView
UIView
animated
Boolean

Returns

Attributes

Applies to