-2

Let's say I have the user of my app define a phone number in a setup step of my program, saved in the plist as a number with the key "PhoneNum". Now lets say that I want to have a button in the program which, when pressed, generates a text message that says "Hi! How are you today?" to the phone number saved under "PhoneNum". Is it possible to have this message auto-send without confirmation from the user? If so, can you point me in the right direction?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
EKSmith
  • 11
  • 5
  • http://stackoverflow.com/a/25172186/2894160 I think it can help you – Jimmy James Dec 14 '16 at 15:26
  • 1
    Your question is way to boards and looks like a code request, which is frowned up and will get your question down voted. You should split up your question and post code where you have tried to solve the issue yourself. Also send an text message without the user interactie will not be possible. – rckoenes Dec 14 '16 at 15:29

1 Answers1

1

Yes, it's possible, if you pay for an SMS-sending service. Type “sms sending api” into your favorite search engine.

If you want to send a message through the user's own iMessages or cell phone account, then you cannot do it without confirmation. How to programmatically send SMS on the iPhone?

Community
  • 1
  • 1
rob mayoff
  • 375,296
  • 67
  • 796
  • 848