Recently in Xcode 8 beta 6 (8S201h) this has become a problem.
UIApplicationLaunchOptionsShortcutItemKey
Here's the error:

Does anyone else have this problem?
var performShortcutDelegate = true if let shortcutItem = launchOptions[UIApplicationLaunchOptionsKey.shortcutItem] as? UIApplicationShortcutItem { print("ok") self.shortcutItem = shortcutItem performShortcutDelegate = false } return performShortcutDelegate
swift swift3 xcode8 xcode8-beta6 3dtouch
Amit Nivedan Kalra
source share