質問

I need to get the sms details from iPhone, that is count of sent and received messages and all messages that are stored in iphone device.

役に立ちましたか?

解決

You can't access these on a standard, non-jailbroken iPhone.

It is only possible when the phone is Jailbreaked. Once Jailbreaked, an application can open the SQLite database at

/var/mobile/Library/SMS/sms.db and read the message table.

It contains, the date/time at which the message was received, the sender/recipient phone number and even the clear text of the message.

However this kind of app won't pass apple appstore approval process.

他のヒント

It is not possible to access the SMS db in iOS, If you try to do so it is against Apple's guidelines. However, if you are trying to develop an app for jail broken device you can access the SMS db.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top