-3

programmatically send SMS on the iPhone with out show MFMessageComposeViewController? It's possible? b/c I want to konw when's my phone send sms. I don't want my phone auto sending SMS. If it's possible, how to know? How to catch that event?

Captain Obvlious
  • 19,754
  • 5
  • 44
  • 74
HaiTran
  • 3
  • 1
  • possible duplicate of [How to send SMS from an iPhone app without opening the SMS interface?](http://stackoverflow.com/questions/4334454/how-to-send-sms-from-an-iphone-app-without-opening-the-sms-interface) – Brad Larson Dec 13 '11 at 19:14

2 Answers2

1

In theory (and assuming the phone is not jailbroken), you cannot send an SMS without user intervention. If sending SMS messages via the API, the user will see the message-compose view controller.

That said, I suppose an app could "bypass" this by sending an HTML request to a third-party SMS gateway (in other words, the iphone is not actually sending the text message, but an external server is).

Mike Fahy
  • 5,487
  • 4
  • 24
  • 28
0

It's possible, but not using the SMS capability provided by the phone. An app author wanting to send SMS without the usual UI would have to purchase capacity from some third party provider (search for 'SMS provider' to find many such providers). Messages sent that way would cost the app developer money, which is as powerful a disincentive as you can find. They also wouldn't be identified with you.

Caleb
  • 124,013
  • 19
  • 183
  • 272