问题
I would like to know whether we can read the incoming SMS message in iPhone.
If any new SMS message arrives I want to open it through my app.
Can you suggest any solution?
回答1:
It's not possible in iOS, sorry
回答2:
iPhone does not have any API hooks into the SMS stack. There is, however, a sqlite style database that you can read with the information inside. If the phone is jailbroken it can be accessed.
回答3:
No, on a non-jailbroken phone, you cannot get any data on SMS messages or phone calls. They are entirely walled off from your application.
来源:https://stackoverflow.com/questions/9701530/iphone-read-incoming-sms-message