开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜