I am having trouble scheduling a local notification, I have all of the code accept the fireDate code:
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?
Thanks
HTML:
UILocalNotification *Notification = [[UILocalNotification alloc] init];
Notification.alertBody=[NSString stringWithFormat:@"Local Notification Test"];
Notification.alertAction = @"Yes";
Notification.soundName = UILocalNotificationDefaultSoundName;
Notification.timeZone = [NSTimeZone defaultTimeZone];
Notification.fireDate =
[[UIApplication sharedApplication] scheduleLocalNotification:note];
[Notification release];
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?
Thanks