Contents

NSFileProviderUserInteractionSuppressing

Support for suppressing user-interaction alerts.

Declaration

protocol NSFileProviderUserInteractionSuppressing : NSObjectProtocol

Overview

Implement this protocol to give users the option to suppress certain user-interaction alerts.

When the user indicates that they don’t want to see an alert again, the system calls your setInteractionSuppressed(_:forIdentifier:) method. Then, before the system displays a user interaction, it calls the isInteractionSuppressed(forIdentifier:) method.

Your File Provider extension can choose whether the suppression only applies to the current domain, or if it should apply to all domains. For example, your extension could choose to suppress future alerts related to adding an item to a shared folder across all domains, after the user suppresses the alert on any one of the domains. Alternatively, the extension could choose to only suppress the alert for the current domain, showing the alert again if the user performs the same action in a different domain.

Topics

Supressing Interactions

See Also

Testing protocols