Sandbox and sharing data between apps
Your main app, a widget, and a Share Extension all have to use the same login session and cache database. How would you share data between apps and extensions on the same team?
Your main app, a widget, and a Share Extension all have to use the same login session and cache database. How would you share data between apps and extensions on the same team?
Share through an App Group container (files, the database, a UserDefaults suite) and a Keychain Access Group (the token). With another company's app, only paths that involve the user are possible: a URL scheme or Universal Link, the pasteboard, or a Share Extension.
App lifecycle and systemShort answerExpert
A Share Extension that takes a large photo and uploads it to the server dies silently now…
#app-group
CS fundamentals and algorithmsShort answerBasics
What's the difference between a process and a thread? What do threads share, and what…
#extension
PersistenceShort answerBasics
Users complain that the app takes up 2GB of their iCloud backup, and review flagged you…
#sandbox
PersistenceMultiple choiceExpert
You want a widget extension to read the main app's SwiftData/Core Data store. Select all…
#app-group