问题
Possible Duplicate:
read iphone sms messages?
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 :).
回答1:
- Not possible.
- Check this
- For SMS sending through application allowed but for accessing inbox for sms/email not allowed.
回答2:
As of iOS 4, you can't get access to SMS data for reading, as there are serious privacy concerns.
And Apple wouldn't allow an app onto the store that does this.
Here's a related question & answer with more detail.
回答3:
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.
来源:https://stackoverflow.com/questions/10223232/how-to-get-inbox-all-sms-on-iphonse-sdk