xcode 如何在 iphonse sdk 上收件箱所有短信?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10223232/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get inbox all SMS on iphonse sdk?
提问by Aleem
Possible Duplicate:
read iphone sms messages?
可能重复:
阅读 iphone 短信?
I have following question related to get sms.
我有以下与获取短信相关的问题。
- I want to get All SMS Text, sender number, date.
- How can i send sms through my app?
- Afterward i want to upload app on app store, so will apple allow me to upload app for doing above tasks? Kindly help me on these issues and also share with me helping materiel or tutorial relevant to this tasks. Thanks in Advance :).
- 我想获取所有 SMS 文本、发件人号码、日期。
- 如何通过我的应用程序发送短信?
- 之后我想在应用商店上传应用,那么苹果会允许我上传应用来完成上述任务吗?请在这些问题上帮助我,并与我分享与此任务相关的帮助材料或教程。提前致谢 :)。
回答by Janak Nirmal
回答by Michael Dautermann
As of iOS 4, you can't get access to SMS data for reading, as there are serious privacy concerns.
从 iOS 4 开始,您无法访问 SMS 数据进行阅读,因为存在严重的隐私问题。
And Apple wouldn't allow an app onto the store that does this.
并且 Apple 不会允许应用程序进入商店以执行此操作。
回答by Andrés Canavesi
It is possible if you have a jailbroken device. You may use jailcoder to fake code signing and then move your app to /Applications folder. This way you can access to any database in your iOS device jailbroken. Obviously Apple deny you app but not in Cydia.
如果您有越狱的设备,这是可能的。您可以使用 jailcoder 伪造代码签名,然后将您的应用程序移动到 /Applications 文件夹。通过这种方式,您可以访问越狱的 iOS 设备中的任何数据库。显然,Apple 拒绝您的应用程序,但不在 Cydia 中。