Instance Property

allowsDocumentSharing

A Boolean value that indicates whether the document is shareable from the standard Share menu.

Declaration

@property(readonly) BOOL allowsDocumentSharing;

Discussion

When the value of this property is YES, the owning document controller enables share options for this document. When the value is NO, the document controller disables the Share menu when this document is selected.

See Also

Sharing the Document

- prepareSharingServicePicker:

Perform any custom setup associated with a sharing service picker.

- shareDocumentWithSharingService:completionHandler:

Share the document's file using the specified sharing service.