一般app在背景点击local notification会触发
userNotificationCenter(_:didReceive:withCompletionHandler:)
请问如果把app swipe up背景移除
这时点local notification要怎么取得UNNotificationContent?
旧版LocalNotification(ios10以前)是
let key = UIApplication.LaunchOptionsKey.localNotification
if let notification = launchOptions![key] as? UILocalNotification {
}
新的我就不知道了T_T