Receive SMS and email content on iPhone?

I am trying to implement an application that can read received SMS and email. I mean to convert text content to voice. Therefore, I need to access SMS and email first. As far as I know, such an API is not provided in the SDK by default. Is there any other way to implement this? Are SMS messages stored in the database (sms.db)? How to get access to them? Is this only possible on jailbroken iphones? What about letters? Are they stored only on mail servers? How can I get them in my application?

Sorry to ask so many questions. I spent many days on this problem, but did not find any solutions ...

+1
email iphone sms
source share
2 answers

You can not. In accordance with the Device Programming Guide: sending SMS :

On iPhone OS 4.0 and later, you can send text messages from your application. This feature is intended solely for sending messages. Incoming SMS messages are sent to the built-in Messages application.

There is a serious privacy and security issue that allows users to access emails and SMS, and I'm glad that Apple decided not to.

+5
source share

Yes, you can (at least via SMS), but only in the jailbreak application (which, in your opinion, is approved in your comments).

The sms.db file can be read by applications that are not isolated.

See my answer to a similar question on how to get SMS content . This answer shows how to get the most recent SMS, but if you just use the commented while , you can iterate through all SMS.

0
source share

All Articles