UIDocumentInteractionController.PresentOpenInMenu 方法

定义

重载

PresentOpenInMenu(UIBarButtonItem, Boolean)

显示用于打开文档的菜单,并将该菜单定位到指定的 UIBarButtonItem。

PresentOpenInMenu(CGRect, UIView, Boolean)

显示用于打开文档的菜单。

PresentOpenInMenu(UIBarButtonItem, Boolean)

显示用于打开文档的菜单,并将该菜单定位到指定的 UIBarButtonItem。

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

参数

animated
Boolean

返回

属性

适用于

PresentOpenInMenu(CGRect, UIView, Boolean)

显示用于打开文档的菜单。

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

参数

rect
CGRect
inView
UIView
animated
Boolean

返回

属性

适用于