UIApplicationLaunchOptionsLocalNotificationKey is deprecated but maybe shouldn't be
||Date Originated:||14-Feb-2017 11:45 AM|
UIApplicationLaunchOptionsLocalNotificationKey is deprecated in favour of the new User Notifications framework. We have adopted this framework in our app, but we still need to keep track of launch reasons so that we can make decisions based on that.
For example, if our app is launched in the background to perform an interactive notification action, we don’t want to trigger a content refresh over the network, but we would want to do that in some other cases where the app is launched in the background.
Steps to Reproduce:
UIApplicationLaunchOptionsLocalNotificationKey is deprecated in the UIApplication.h header file.
There should be a way to detect (in applicationDidFinishLaunching) why the app launched.
There’s no non-deprecated way to know at launch-time why the app launched if it launched from a notification action.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!