<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "FileProviderUI",
  "identifier" : "/documentation/FileProviderUI",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "File Provider UI"
    ],
    "preciseIdentifier" : "FileProviderUI"
  },
  "title" : "File Provider UI"
}
-->

# File Provider UI

Add actions to the document browser’s context menu.

## Overview

Use the File Provider UI extension to add custom actions to your File Provider extension. These actions appear if the user long presses an item while browsing your file provider’s content. When the user selects your action, the system displays your custom user interface, where the user completes the action. After the user is finished, you must explicitly cancel or complete the action.

For more about File Provider extensions, see <doc://com.apple.documentation/documentation/FileProvider>.

For more about creating extensions, see [App Extension Programming Guide](https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214).

## Topics

### Document Browser Customization

[Adding Actions to the Context Menu](/documentation/FileProviderUI/adding-actions-to-the-context-menu)

Present custom actions from your File Provider extension in the system’s file browser.

[`FPUIActionExtensionViewController`](/documentation/FileProviderUI/FPUIActionExtensionViewController)

The custom user interface used to perform a selected action.

### Errors

[`FPUIExtensionErrorCode`](/documentation/FileProviderUI/FPUIExtensionErrorCode)

The error codes for errors raised by the File Provider UI extension.

[`FPUIErrorDomain`](/documentation/FileProviderUI/FPUIErrorDomain)

The error domain for errors raised by the File Provider UI extension.

### Reference

[FileProviderUI Data Types](/documentation/FileProviderUI/fileproviderui-data-types)



---

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)