Launch options is always nil.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
//Launch options is always coming nil
//even when I launch from 3D touch shortcut icon
shortcutItemkey = [launchOptions objectForKey:UIApplicationLaunchOptionsShortcutItemKey];
return N0;
}
performActionForShortcutItem delegate method is getting called as usual.
-(void)application:(UIApplication *)application performActionForShortcutItem:(UIApplicationShortcutItem *)shortcutItem completionHandler:(void (^)(BOOL succeeded))completionHandler {
completionHandler([self handleShortcut:shortcutItem]);
}