Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 15, 2010, 06: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, 03: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Help UILocalNotification Event Button zerodn iPhone and iPod touch Apps 0 Apr 1, 2011 09:37 PM
UILocalNotification chhoda iPhone/iPad Programming 2 Aug 31, 2010 04:32 AM
UILocalNotification issue themoonisdown09 iPhone/iPad Programming 4 Jul 7, 2010 08:24 AM


All times are GMT -5. The time now is 12:06 AM.

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

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