where database store in iphone simulator (for Mac OS)?

最后都变了- 提交于 2019-12-12 02:47:48

问题


i create a application.Whose, Log IN application in this we add a local database (db.sqlite). When new user do registration. than, add the whole data in database. its is run properly in device. But,how i see the data (data was store or not)? Question : where does this database file get stored on the filesystem when you're using an simulator (in Computer)?


回答1:


In my case, I got my .sql file at

/Users/myName/Library/Application Support/iPhone Simulator/4.2/Applications/B378BED2-C67C-4465-AB8A-184D80C41D88/Library/Private Documents

B378BED2-C67C-4465-AB8A-184D80C41D88 is some random name generated by system,it would be different in your case.



来源:https://stackoverflow.com/questions/9393367/where-database-store-in-iphone-simulator-for-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!