Daily iOS
App lifecycle and system

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?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

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.

Share a question