1
有人能分享通過解析launchOptions3D觸控iOS中
[launchOptions objectForKey:UIApplicationLaunchOptionsShortcutItemKey].
處理不同shortcutItems他/她的最佳實踐當您的項目之一運行應用程序 - 如何檢測這正是被竊聽?
在此先感謝。
有人能分享通過解析launchOptions3D觸控iOS中
[launchOptions objectForKey:UIApplicationLaunchOptionsShortcutItemKey].
處理不同shortcutItems他/她的最佳實踐當您的項目之一運行應用程序 - 如何檢測這正是被竊聽?
在此先感謝。
您可以使用並獲取UIApplicationShortcutItem
對象。
UIApplicationShortcutItem *shortcutItem = [launchOptions objectForKey:UIApplicationLaunchOptionsShortcutItemKey];
NSDictionary *itemInfo = shortcutItem.userInfo;
一旦你有,你可以檢查使用shortcutItem.userInfo
,它包含您所提供的信息的字典,同時創造UIApplicationShortcutItem