Share via


UIDocumentInteractionController.PresentOptionsMenu Method

Definition

Overloads

PresentOptionsMenu(UIBarButtonItem, Boolean)

[Foundation.Export("presentOptionsMenuFromBarButtonItem:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool PresentOptionsMenu(UIKit.UIBarButtonItem item, bool animated);
[<Foundation.Export("presentOptionsMenuFromBarButtonItem:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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)

[Foundation.Export("presentOptionsMenuFromRect:inView:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool PresentOptionsMenu(CoreGraphics.CGRect rect, UIKit.UIView inView, bool animated);
[<Foundation.Export("presentOptionsMenuFromRect:inView:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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