2010-08-10 120 views

回答

3

日历存储在/var/mobile/Calendar/Calendar.sqlitedb的SQLite3数据库中。在模拟器上,它在/Users/<username>/Library/Application Support/iPhone Simulator/User/Library/Calendar/Calendar.sqlitedb

您不应该直接访问此数据库。

是的,EventKit只是使用这个数据库。

+0

感谢您的回复。我想问一下,我可以使用Event Kit API将新事件添加到iPhone日历吗?或者我应该使用其他方法来访问和修改数据库的内容?谢谢。 – Questions 2010-08-10 07:02:58

+0

@Mark:查看问题[*编程添加自定义事件在iPhone日历*](http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar) – kennytm 2010-08-10 07:22:21

+0

谢谢你非常。这是我想要的。 :-) – Questions 2010-08-10 07:39:08