2011-07-13 4 views

Répondre

0
UILocalNotification *notif = [[UILocalNotification alloc] init]; 
notif.alertBody = @"HI"; 
[notif setFireDate:DATE];// fire the notification in ten minutes 
notif.alertAction = @"View"; 
notif.timeZone = [NSTimeZone defaultTimeZone]; 
[[UIApplication sharedApplication] scheduleLocalNotification:notif]; 
0

Configurez un UILocalNotification et programmez-le avec scheduleLocalNotification: de UIApplication.

Questions connexes