UIDocumentMenuViewController.AddOption(String, UIImage, UIDocumentMenuOrder, Action) UIDocumentMenuViewController.AddOption(String, UIImage, UIDocumentMenuOrder, Action) 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 String
image
UIImage UIImage

To be added.

This parameter can be null.

completionHandler
Action Action

Applies to