iPhone在哪里存储日历信息? [英] Where the iPhone store the calendar information?
问题描述
我想问一个关于iPhone应用程序的问题. iPhone中的日历信息存储在哪里?是使用EKEvent吗?
I want to ask a question about the iPhone application. Where does the calendar information stored in the iPhone? Is it by using EKEvent?
推荐答案
日历保存在SQLite3数据库的/var/mobile/Calendar/Calendar.sqlitedb
中.在模拟器上,它位于/Users/<username>/Library/Application Support/iPhone Simulator/User/Library/Calendar/Calendar.sqlitedb
.
The calendar is stored in a SQLite3 database at /var/mobile/Calendar/Calendar.sqlitedb
. On the simulator, it is at /Users/<username>/Library/Application Support/iPhone Simulator/User/Library/Calendar/Calendar.sqlitedb
.
您不应直接访问此数据库.
You shouldn't access this database directly.
是的,EventKit只是使用此数据库.
And yes, EventKit is just using this database.
这篇关于iPhone在哪里存储日历信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!