Posted when the extension’s host app begins running in the background.
- iOS 8.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Extensions can use this notification to stop tasks and prepare the extension to be suspended. The
object parameter contains the
NSExtension object. This notification does not contain a
Extensions receive only a short amount of time to perform any background work. If you need more time to complete critical tasks, use the methods of the
Process class to request that time.