|Jul 15, 2010, 06:51 PM||#1|
I am having trouble scheduling a local notification, I have all of the code accept the fireDate code: [HTML]UILocalNotification *Notification = [[UILocalNotification alloc] init];
Notification.alertBody=[NSString stringWithFormat:@"Local Notification Test"];
Notification.alertAction = @"Yes";
Notification.soundName = UILocalNotificationDefaultSoundName;
Notification.timeZone = [NSTimeZone defaultTimeZone];
[[UIApplication sharedApplication] scheduleLocalNotification:note];
I cannot figure out how to schedule the fireDate, I have been looking over the example codes but cannot seem to get it. Could someone show me how to set the fireDate?
|Jul 16, 2010, 03:49 AM||#2|
Create an NSDate. Really does not seem that hard. If you have a detailed, specific issue then perhaps more help can be given.
Sponsor me to cycle 100Km round London in the dark
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Set repeat days for UILocalNotification||straber||iPhone/iPad Programming||0||Oct 17, 2012 03:46 PM|
All times are GMT -5. The time now is 09:40 PM.