Wie kann ich am nahen Ereignis der UILocalNotification in Objective-C arbeiten?
Oder kann ich feststellen, dass die Benachrichtigung beendet ist?
Wie kann ich diesen Code ändern, um in Schließen-Schaltfläche zu codieren?UILocalNotification erkennen Taste geschlossen drücken?
localNotification.alertBody=[NSString stringWithFormat:@"%@",[tmpdict objectForKey:@"Reminder"]];
NSDictionary *snoozeDic=[tmpdict objectForKey:@"Snooze"];
if ([[snoozeDic valueForKey:@"Switch"]intValue]==1) {
[email protected]"Snooze";
} else
{
localNotification.hasAction=NO;
}