iPhone在哪里存储日历信息? [英] Where the iPhone store the calendar information?

查看:114
本文介绍了iPhone在哪里存储日历信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一个关于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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆