简体   繁体   中英

How to load iphone calendar application in iphone simulator 4.0

How to load iphone calendar application in iphone simulator 4.0 ?

Is it possible ?

Can anyone help me ?

Thanks in advance..........

Short answer - it is not possible.

The simulator doesn't come with the Calendar.app. Simulator is able to run only applications that are compiled for Intel processor. So even if you could somehow get the Calendar app from the iPhone, it would not run as it is compiled for ARM cpu.

While there is no calendar app in the simulator the entries are stored in a sqlite database in $HOME/Library/Application Support/iPhone Simulator//Library/Calendar/Calendar.sqlitedb

Calendar Events are stored in several tables but mainly in a table called CalendarItem which can be opened with a sqlite viewer.

If you need a very easy sql lite viewer the FireFox plugin SQLite Manager works like a champ.

Hope this helps.

As mentioned above, there is NO calendar app on the simulator, but the sqlite db is available at

/Library/Application Support/iPhone Simulator//Library/Calendar/Calendar.sqlitedb

if you can't seem to open that sqlite db, check this answer:

https://stackoverflow.com/a/17608993/2147976

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM