iOS Development
Sharing files between app and app extension
Need to enable App Groups (see the Capabilities of the app) and add a group extension.
let groupDocumentPath = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.your.group")!
// ...