Files App Integration

iOS 11 brought the Files app. Integrating with it is relatively simple. Writing a document provider (i.e. something like dropbox, or secure shellfish) is much more involved.

On-Device Integration

Mostly copied from what Big Nerd Ranch wrote. This is really two things you need to add to your info.plist:

  • Set UIFileSharingEnabled (Application supports iTunes file sharing) to YES
  • Set LSSupportsOpeningDocumentsInPlace (Supports opening documents in place) to YES.

And that’s pretty much it.

Note that setting this will make ALL of the contents of $APP_ROOT/Documents visible to the files app, so any private files you kept there will also be visible. These should instead be moved to the Application Support folder.

Last updated: 2020-06-07 16:24:37 -0700