简体   繁体   English

如何从iOS应用程序中获取收到的SMS消息列表?

[英]How do I fetch the list of received SMS messages from within an iOS application?

如何以编程方式在iOS设备上检索所有收到的SMS消息,以便可以将它们显示在列表中(例如表格视图)?

Without being jailbroken you cannot access the SMS database. 没有越狱,您就无法访问SMS数据库。

However, if you are writing the app to work specifically on a jailbroken device, you can check out the SMS database in the /Users/Library/ ; 但是,如果您编写的应用程序专门用于越狱设备,则可以在/Users/Library/检出SMS数据库。 then access it as you would any other sqlite database. 然后像访问其他任何sqlite数据库一样访问它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM