Is the instance of UIApplication given in didFinishLaunchingWithOptions is same as [UIApplication sharedApplication]
UIApplication sharedApplication instance is same as given in didFinishLaunchingWithOptions?
146 views Asked by Sourabh Mahna At
1
Yes, they are the same, for
UIApplicationis a singleton; the message[UIApplication sharedApplication]returns that singleton object and so doesdidFinishLaunchingWithOptions.