Instance Method

addOptionWithTitle:image:order:handler:

Adds a custom menu item to the list of document pickers.

Declaration

- (void)addOptionWithTitle:(NSString *)title image:(UIImage *)image order:(UIDocumentMenuOrder)order handler:(void (^)(void))handler;

Parameters

title

The custom menu item’s title.

image

The custom menu item’s image.

order

The position of this menu item. See UIDocumentMenuOrder for possible values.

handler

A block that is called when the user selects this custom menu item.

See Also

Configuring a document Menu

UIDocumentMenuOrder

The insertion point for custom menu items.

Deprecated