Question

il y a la possibilité d'un LocalNotification sur l'iPhone pour charger à une date? Mon problème est que je crée un événement pour la notification, mais je libérer l'objet après la création.

Ou puis-je simplement créer un nouvel objet avec les mêmes données pour supprimer ma notification?

désolé pour mon anglais ...

Était-ce utile?

La solution

scheduledLocalNotifications vous donnera la liste de tous notifications prévues et l'utilisation

- (void)cancelLocalNotification:(UILocalNotification *)notification

ou vous pouvez les annuler tout en utilisant:

 [[UIApplication sharedApplication] cancelAllLocalNotifications];
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top