How to access iPhone SMS db?

点点圈 提交于 2019-12-13 07:49:26

问题


I am beginner in iPhone technology so i don't have much idea how to access iPhone SMS db?


回答1:


You can access iPhone database to access mobile library path and appending SMS.db file with that path you will get the access to iPhone SMS.




回答2:


If you are working in JailBreak Phone,you can access the SMS by using this path :-

/private/var/mobile/Library/SMS/sms.db




回答3:


You can't access SMS db programmatically. There is no public API Provided by Apple.




回答4:


The easiest way is to make a backup of the iPhone in iTunes, then access the backup file location, explained here: https://support.apple.com/en-gb/HT204215

Once you are in the backup folder, you can search for the sms.db file by its hashed filename - 3d0d7e5fb2ce288813306e4d4636395e047a3d28 for sms.db

When you find the file, copy and paste the file somewhere else - you can rename the new copy sms.db if you want. It's a SQLite db so open in the editor of your choice. In theory you can edit the db, replace the original file in the backup and then restore it to your iPhone.

A list of other interesting files in the iTunes backup can be found here: https://www.iphonebackupextractor.com/blog/iphone-backup-location-all-files-extension/



来源:https://stackoverflow.com/questions/15756229/how-to-access-iphone-sms-db

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