I am working on an application that stores the event using the I think you can manipulate this code to run the alarm EKEvent .. .. I think small blog posts will be useful to you ... Hope this helps ... Cheers EKEvent class And I want to fire my application alarm when that event happens I do not know how to play an alarm in the iPhone.
NSMutableArray * myAlarmsArray = [[NSMutableArray alloc] init]; EK Alarm * Alarm 1 = [EK alarm alarm relativity offset: -3600]; // 1 hour EKAlarm * Alarm 2 = [Relative offset with EK alarm alarm: -86400]; // day 1 [myAlarmsArray addObject: alarm1]; [MyAlarmsArray addObject: alarm2]; Event.alarms = myAlarmsArray; [MyAlarmsArray release];
Comments
Post a Comment