のは、こののStringArrayはすでにlocalNotificationに予定されている日付の文字列を持っているとしましょう、それらの文字列を取得する方法は、日付に変換して、特定の予定日にNSDateFormatter `ためNSDateに変換された後に文字列の配列から取得したlocalNotificationをキャンセルするにはどうすればよいですか?
var arr = ["2016-08-27 19:29:50 +0000","2016-09-20 17:19:50 +0000","2016-07-27 10:20:30 +0000"]**
func locaNotification(num:Int)
{
let notification = UILocalNotification()
let notifTime = NSDate(notificationTime[num])
UIApplication.sharedApplication().cancelLocalNotification(notification)
}
ルックを削除し、そこにあります'NSDate'を' NSString'または 'NSString'に' NSDate'に変換します。 – Larme