Importing AddressBook data into the iPhone Simulator

前端 未结 7 2080
自闭症患者
自闭症患者 2020-12-13 05:28

Is there an easy way to import AddressBook data into the iPhone Simulator?

Right now my only assumption is to manually modify the SQLite files found in the /Libr

7条回答
  •  离开以前
    2020-12-13 05:56

    or if your iPhone isn't jailbroken, you can extract the sqlite db from a backup using the shell script here: http://0xced.blogspot.com/2009/01/using-your-own-address-book-in-iphone.html

    (note you'll need to change the simulator path it copies it to, as in the current SDK it's a bit different due to the addition of the OS version folder - easiest thing would be to just change it to your home directory and copy manually from there)

提交回复
热议问题