Question

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.

Était-ce utile?

La solution

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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top