|Jul 15, 2010, 07: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, 04: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|
|Help UILocalNotification Event Button||zerodn||iPhone and iPod touch Apps||0||Apr 1, 2011 10:37 PM|
|UILocalNotification||chhoda||iPhone/iPad Programming||2||Aug 31, 2010 05:32 AM|
|UILocalNotification issue||themoonisdown09||iPhone/iPad Programming||4||Jul 7, 2010 09:24 AM|
All times are GMT -5. The time now is 04:38 AM.