<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderUserInteractionSuppressing",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(pl)NSFileProviderUserInteractionSuppressing"
  },
  "title" : "NSFileProviderUserInteractionSuppressing"
}
-->

# NSFileProviderUserInteractionSuppressing

Support for suppressing user-interaction alerts.

```
protocol NSFileProviderUserInteractionSuppressing : NSObjectProtocol
```

## Overview

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

> Important:
> To enable the suppression of a user-interaction alert, you must add the `SuppressionIdentifier` key to the `NSExtension` > `NSFileProviderUserInteractions` > `UserInteraction` dictionary in the File Provider extension’s Info tab or `Info.plist` file. Multiple user interactions can use the same suppression identifier. Suppressing one interaction suppresses all the interactions that share the identifier.

When the user indicates that they don’t want to see an alert again, the system calls your [`setInteractionSuppressed(_:forIdentifier:)`](/documentation/FileProvider/NSFileProviderUserInteractionSuppressing/setInteractionSuppressed(_:forIdentifier:)) method. Then, before the system displays a user interaction, it calls the [`isInteractionSuppressed(forIdentifier:)`](/documentation/FileProvider/NSFileProviderUserInteractionSuppressing/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

[`-  isInteractionSuppressedForIdentifier:`](/documentation/FileProvider/NSFileProviderUserInteractionSuppressing/isInteractionSuppressed(forIdentifier:))

Asks the File Provider extension if the user suppressed the specified interaction.

[`-  setInteractionSuppressed:forIdentifier:`](/documentation/FileProvider/NSFileProviderUserInteractionSuppressing/setInteractionSuppressed(_:forIdentifier:))

Tells the File Provider extension that the user wants to suppress the user interaction.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)