Editar

Compartir a través de


UIDocumentMenuViewController.AddOption Method

Definition

Adds a menu item, which runs the completionHandler action when it is clicked, to the document menue.

[Foundation.Export("addOptionWithTitle:image:order:handler:")]
public virtual void AddOption (string title, UIKit.UIImage image, UIKit.UIDocumentMenuOrder order, Action completionHandler);
abstract member AddOption : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder * Action -> unit
override this.AddOption : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder * Action -> unit

Parameters

title
String
image
UIImage

To be added.

This parameter can be null.

completionHandler
Action
Attributes

Applies to