Contents

NSSharingServicePicker.CollaborationModeRestriction

Specifies whether a specific type of sharing should be disabled in the share picker, and if so, whether a reason should be provided for the disablement.

Declaration

class CollaborationModeRestriction

Overview

If a reason is provided, the corresponding mode will show up as an option, but an alert explaining why it is disabled will show if it is chosen, and the mode will switch back to the supported one. Optionally, an extra alert button can be provided for a “recovery suggestion”. This can give a user a way to fix whatever is causing this type of sharing to be disabled. If no reason is provided, the corresponding mode will not show up as an option.

Topics

Initializers

Instance Properties