Contents

mainAppContext

The app’s top-level context.

Declaration

var mainAppContext: CLSContext { get }

Discussion

Every app has exactly one top-level context that acts as the root node in a hierarchy of contexts that you define. Its identifier is the app’s bundle identifier. You can neither create nor destroy this context.

See Also

Accessing specific contexts and activities