2010-08-10 24 views

回答

1

EKEvent和eventWithEventStore用于添加/修改日历应用中的事件。使用它的属性来获取/设置事件的标题和描述。

An EKEvent object represents an event added to a calendar in Event Kit. 

Use the eventWithEventStore: method to create a new event. Use the properties in the class to get and modify certain information about an event. 

You can add and remove alarms from an event with the addAlarm: and removeAlarm: methods. 

也许你可以告诉我你想做什么?

+0

@ futureelite7,谢谢你的回复。我想在CalDAV服务器中下载一些数据并添加到iPhone日历中。可能吗?或者Apple不提供这样的API?谢谢。 – Questions 2010-08-10 04:26:24

+0

任何机会,你是否试图将你的Google日历同步到你的iPhone(或类似的东西)?内置支持将Google日历同步到iPhone。 – futureelite7 2010-08-10 18:03:38

+0

@futureelite,谢谢你的回复。我没有尝试同步Google日历。我只想写这样的程序。 – Questions 2010-08-11 01:35:16