2010-08-10 29 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