If your app hasn't launched, and you click home shortcut item to launch your app, which method would be called first?
Is application:didFinishLaunchingWithOptions:
or
application:performActionForShorcutItem:completionHandler:
?
If your app hasn't launched, and you click home shortcut item to launch your app, which method would be called first?
Is application:didFinishLaunchingWithOptions:
or
application:performActionForShorcutItem:completionHandler:
?
Copyright © 2021 Jogjafile Inc.
If you launch your app with 3D-touch shortcut ,the method:
will be called first.
If this method return true ,the method :
will be called next.
But if you return false with the first method ,the second method will not be called.
If your app is already launched,you use 3D-touch shortcut to enter your app,only the second method will called.
See more details in Apple's Demo