TechnologiesApp Extensions & System Integration

FileProviderUI

iOSmacOStvOSwatchOSvisionOS

FileProviderUI lets a File Provider extension supply custom interface for actions on the documents it manages in the Files app on iOS, macOS, and visionOS. You subclass FPUIActionExtensionViewController to present view controllers for the actions your extension declares, identifying each action with an FPUIActionIdentifier. The FPUIActionExtensionContext drives the action's lifecycle, letting you complete an action or cancel it by reporting an FPUIExtensionErrorCode.

Action Extension 2

The view controller and context that present and drive custom UI for a File Provider action.

  • Cl
    FPUIActionExtensionViewControllermacOS 10.15+
    The custom user interface used to perform a selected action.
  • Cl
    FPUIActionExtensionContextmacOS 10.15+
    An extension context provided to File Provider UI extensions.

Identifying Actions 1

The identifier that distinguishes each action your extension declares.

  • St
    FPUIActionIdentifier
    A structure that uniquely identifies an action declared by your File Provider UI extension.

Errors 1

Error codes reported when an action cannot be completed.

  • En
    FPUIExtensionErrorCode
    The error codes for errors raised by the File Provider UI extension.
← App Extensions & System Integration