Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 15, 2010, 07:51 PM   #1
HarryWorksInc
macrumors regular
 
Join Date: Feb 2010
UILocalNotification fireDate

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];
Notification.fireDate =
[[UIApplication sharedApplication] scheduleLocalNotification:note];
[Notification release];[/HTML]

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
HarryWorksInc is offline   0 Reply With Quote
Old Jul 16, 2010, 04:49 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Create an NSDate. Really does not seem that hard. If you have a detailed, specific issue then perhaps more help can be given.
robbieduncan is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Set repeat days for UILocalNotification straber iPhone/iPad Programming 0 Oct 17, 2012 04:46 PM

Forum Jump

All times are GMT -5. The time now is 01:45 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC