문제

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