Type Property

sharedApplication

Returns the singleton app instance.

Declaration

@property(class, nonatomic, readonly) UIApplication *sharedApplication;

Return Value

The app instance is created in the UIApplicationMain function.

Discussion

The UIApplicationMain function creates the shared app instance at launch time.