What happens if we return NO in didFinishLaunching in App Delegate [duplicate]
-
02-01-2020 - |
Question
What happens if I return No rather then Yes in >
(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
I have tried both ways: returned Yes and No but didn't get any change in app launching.
Solution
Check -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
in Apple Doc
Return Value
NO if the app cannot handle the URL resource, otherwise return YES. The return value is ignored if the app is launched as a result of a remote notification.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow