I tried to return the false in didFinishLaunchingWithOptions method, nothing happens my app run successfully, can anyone tell why this thing work, and what's the difference (true/false) here.
Discussion. Use this method (and the corresponding application(_:didFinishLaunchingWithOptions:) method) to initialize your app and prepare it to run. This method is called after your app has been launched and its main storyboard or nib file has been loaded, but before your app's state has been restored.
Event: 'will-finish-launching'Emitted when the application has finished basic startup. On Windows and Linux, the will-finish-launching event is the same as the ready event; on macOS, this event represents the applicationWillFinishLaunching notification of NSApplication .
It doesn't determine if the app launches or not, just whether it can handle the "option
" or not.
Return Value
false
if the app cannot handle theURL
resource or continue a user activity, otherwise returntrue
. The return value is ignored if the app is launched as a result of a remote notification.Ref: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With