2

我看到很多帖子说不可能。
然而,对我来说很奇怪的是,它可以越狱手机(这会让苹果赔钱),可以用 xcode 发送文本或获取请求(这可能是垃圾邮件),但不能阅读文本。
你们中有人尝试过并成功了吗?
毕竟,iPhone 确实会读取 SMS'es,所以数据就在其中,只需将其取出即可。
非常感谢您对此的任何想法。


问题是:如何获取 iPhone 上所有短信的内容?

4

1 回答 1

2

It most certainly is possible. Since the Jailbreak tag was applied to your question, I assume you're ok with writing an app that requires a jailbroken phone, and won't be submitted to the iTunes App Store.

If so, look at my answer to this other question recently. See the mostRecentSMS method I posted. That only reads the newest SMS, but if you simply modify my sqlite code to loop over all messages (rows), you can get whatever SMS content you want.

(e.g. uncomment the while loop I show there: while (sqlite3_step(statement) == SQLITE_ROW) instead of using the if statement)

于 2012-08-25T07:15:35.393 回答