App Extension limits
A Share Extension that takes a large photo and uploads it to the server dies silently now and then. What's different about an App Extension from the main app that would cause that?
A Share Extension that takes a large photo and uploads it to the server dies silently now and then. What's different about an App Extension from the main app that would cause that?
An extension runs briefly in a separate process at the host app's request, has a very small memory limit (about 120MB for Share, about 30MB for a widget), and disappears with no crash log when it goes over. Some APIs are off limits and it can't run in the background.
App lifecycle and systemShort answerAdvanced
Your main app, a widget, and a Share Extension all have to use the same login session and…
#app-group
App lifecycle and systemShort answerBasics
How do the process states from an OS class (new, ready, running, waiting, terminated) map…
#process
CS fundamentals and algorithmsShort answerBasics
What's the difference between a process and a thread? What do threads share, and what…
#process
PersistenceMultiple choiceExpert
You want a widget extension to read the main app's SwiftData/Core Data store. Select all…
#app-group