Value of type 'AppDelegate' has no member 'window'
问题 Im trying to use the 3D touch Quick Actions and I'm setting it up copying VEA Software code. In his sample code it works perfectly but when I try to add it to my app I get some unusual errors. I am new to coding and swift so please explain as much as possible. Thanks. Below I have the code which is in my app delegate. This is where I'm getting the error ( self.window? ): @available(iOS 9.0, *) func handleShortcutItem(shortcutItem: UIApplicationShortcutItem) -> Bool { var handled = false var