How to send SMS from an iPhone app without opening the SMS interface?

I am making an iPhone app, where the requirement is such that user should be able to send SMS from iPhone app without going into the SMS API screen (i.e. the modal view for SMS).

We do not want the user to click the "Send" button. It should be sent automatically.

The message body and message recipients are pre-fixed.

I am a newbie.

How can I do this? What should be done?

Please Help and Suggest.

Thanks.

Answers


Your only option (if you want to submit to the App Store at least) is to use MFMessageComposeViewController. I think the idea is so that apps can't send SMS without the users permission.


Need Your Help

get_headers returning error on new server

php apache cpanel whm

I have created an image manipulation function on one of my old sites and this is run on a page that received the full url of the image as a get variable. Part of this function uses get_headers to g...

Validating a date column with Derived Column Transformation Editor

sql-server-2008 ssis

I've got a column coming from text file which supposed to be a date, but can be anything else.