Вопрос

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