Forum Discussion

Re: iOS File Provider: Never getting file updates

While your implementation using UIDocumentPickerViewController, startAccessingSecurityScopedResource, and NSFilePresenter is technically correct, third-party file providers like OneDrive often do not fully support live updates or change notifications through NSFilePresenter. As a result, updates made on other devices do not automatically trigger refreshes in your app while it's running. The only reliable way to get the latest file version is to re-open the file through the picker, effectively reloading it. This seems to be a known limitation rather than a bug in your implementation.

------------------------------------
Don't forget to mark as solution if my answer suits you

1 Reply

  • depth42's avatar
    depth42
    Copper Contributor

    Thanks. Do you know if this limitation is documented somewhere? I searched for it and could not find anything. 

Resources