I am creating simple
let n = UILocalNotification()
n.alertBody = "\(nam) \(wat)"
n.userInfo = ["id": id, "t":type.rawValue]
n.soundName = UILocalNotificationDefaultSoundName
n.category = "call_chat"
func application(_ application: UIApplication, didReceive notification: UILocalNotification)
So, finally I find out, that scheduledLocalNotifications doesn't contain notifications, that already shown. The only way is to store them in array, or use
NSKeyArchiver like said here.