---
title: NSFileProviderUserInteractionSuppressing
framework: fileprovider
role: symbol
role_heading: Protocol
path: fileprovider/nsfileprovideruserinteractionsuppressing
---

# NSFileProviderUserInteractionSuppressing

Support for suppressing user-interaction alerts.

## Declaration

```swift
protocol NSFileProviderUserInteractionSuppressing : NSObjectProtocol
```

## Overview

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:) 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

- [isInteractionSuppressed(forIdentifier:)](fileprovider/nsfileprovideruserinteractionsuppressing/isinteractionsuppressed(foridentifier:).md)
- [setInteractionSuppressed(_:forIdentifier:)](fileprovider/nsfileprovideruserinteractionsuppressing/setinteractionsuppressed(_:foridentifier:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Testing protocols

- [NSFileProviderTestingChildrenEnumeration](fileprovider/nsfileprovidertestingchildrenenumeration.md)
- [NSFileProviderTestingCollisionResolution](fileprovider/nsfileprovidertestingcollisionresolution.md)
- [NSFileProviderTestingContentFetch](fileprovider/nsfileprovidertestingcontentfetch.md)
- [NSFileProviderTestingCreation](fileprovider/nsfileprovidertestingcreation.md)
- [NSFileProviderTestingDeletion](fileprovider/nsfileprovidertestingdeletion.md)
- [NSFileProviderTestingIngestion](fileprovider/nsfileprovidertestingingestion.md)
- [NSFileProviderTestingLookup](fileprovider/nsfileprovidertestinglookup.md)
- [NSFileProviderTestingModification](fileprovider/nsfileprovidertestingmodification.md)
- [NSFileProviderTestingOperation](fileprovider/nsfileprovidertestingoperation.md)
- [NSFileProviderTestingOperationSide](fileprovider/nsfileprovidertestingoperationside.md)
- [NSFileProviderTestingOperationType](fileprovider/nsfileprovidertestingoperationtype.md)
- [com.apple.developer.fileprovider.testing-mode](bundleresources/entitlements/com.apple.developer.fileprovider.testing-mode.md)
