UIApplication sharedApplication instance is same as given in didFinishLaunchingWithOptions?

132 views Asked by At

Is the instance of UIApplication given in didFinishLaunchingWithOptions is same as [UIApplication sharedApplication]

1

There are 1 answers

0
Unheilig On BEST ANSWER

Yes, they are the same, for UIApplication is a singleton; the message [UIApplication sharedApplication] returns that singleton object and so does didFinishLaunchingWithOptions.