How to set alarm in iphone calendar application from the our application?
I have implemented event cal开发者_如何转开发endar application.In which I have added event data in iphone calendar application from my application successfully.But I also want to add alarm from my application.Please give me some idea about that.
Thanks in advance.
EKEvent *event = [EKEvent eventWithEventStore:eventStore];
EKAlarm *alarm = [EKAlarm alarmWithRelativeOffset:alarmOffset];
[event addAlarm:alarm];
精彩评论