开发者

How to set alarm in iphone calendar application from the our application?

开发者 https://www.devze.com 2023-02-01 23:37 出处:网络
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 app

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

精彩评论

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