Contents

willEnterForeground

An identifier for a message about a host app preparing to run in the foreground.

Declaration

static var willEnterForeground: NotificationCenter.BaseMessageIdentifier<NSExtensionContext.WillEnterForegroundMessage> { get }

Discussion

Use this identifier with NotificationCenter’s addObserver(of:for:using:) or messages(of:for:bufferSize:) methods to observe messages of type NSExtensionContext.WillEnterForegroundMessage.

See Also

Identifying extension messages