0

I want to send an SMS via iPhone code to a selected recipient - I don't want to have to specify the recipient's number in the code. I want the app to take the message and enable me to select recipients from the Contacts in the iPhone device.

AMIC MING
  • 6,306
  • 6
  • 46
  • 62
Eman87
  • 2,735
  • 7
  • 36
  • 53
  • you didn't got my mean, I want the app opens the contacts and let me select the recipient, not write it in the code like what is shown in links that you sent – Eman87 Mar 31 '14 at 18:59

1 Answers1

0

For sending an SMS you only option is MFMessageComposeViewController which allows you to prefill it and then present it to the user.

You are not able to send SMS via code, since this could be misused to send messages to service number which could cost the user momey.

rckoenes
  • 69,092
  • 8
  • 134
  • 166