Symbols: 100.0% of Apple's iOS API (16 of 16, exact) · Rows: 4: 4 ✅ · iOS: 11.0+
Area: App extensions & system integration · Apple: FileProviderUI · Issues: area:system
- Approach: adapted (
isim/swift/overlays/FileProviderUI): a file provider app's UI extension (com.apple.fileprovider-actionsui). The document picker and browser list itsNSExtensionFileProviderActionsin the menu of the provider's items (FileProvider). For one of them, isim loads the extension into the picker's app, like its other extensions, and presents itsFPUIActionExtensionViewControlleras a sheet afterprepare(forAction:itemIdentifiers:). When a domain the picker opens fails to sync withNSFileProviderError.notAuthenticated, the extension shows afterprepare(forError:), like iOS's sign-in sheet; the domain syncs again once it completes.completeRequest()andcancelRequest(withError:)dismiss it. - Objective-C / C interface:
sdk-src/Frameworks/FileProviderUI/FileProviderUI.h(FPUIActionIdentifier,FPUIErrorDomain,FPUIExtensionErrorCodefor both languages; the classes, the overlay's, for Objective-C). - Versus Apple's Simulator: the extension runs in the picker's app, not in a process of its own.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
FPUIActionExtensionViewController (extensionContext, prepare(forAction:itemIdentifiers:)) |
✅ | ≤17 | adapted: presented from the picker's item menu. Tested: test_file_provider (HelloFileProvider's Share) |
FPUIActionExtensionContext (completeRequest(), cancelRequest(withError:), domainIdentifier) |
✅ | ≤17 | completing or cancelling dismisses the sheet. Tested: test_file_provider |
FPUIActionExtensionViewController.prepare(forError:) |
✅ | ≤17 | adapted: shown when opening a domain fails with notAuthenticated; completing it syncs again. Tested: test_file_provider (sign in) |
FPUIActionIdentifier, FPUIErrorDomain, FPUIExtensionErrorCode |
✅ | ≤17 | Apple's values. Tested: test_services_objc |
Nothing (or not measured yet).