I have a problem with my UILocalNotification.
I am scheduling the notification with my method.
- (void) sendNewNoteLocalReminder:(NSDate *)date a
Thank @viggio24 for the good answer, this is a swift version
var notifyCancel = UILocalNotification()
var notifyArray=UIApplication.sharedApplication().scheduledLocalNotifications
var i = 0
while(i {
if let s = info["name"] {
if(name==s){//name is the the one you want cancel
notifyCancel = notify
break
}
}
}
}
i++
}