-2

I want to know is it possible to send SMS programmatically using Objective-C in iPhone using UDID means that the TO address should be an UDID of the other iPhone than phone number.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Sandy_ios
  • 669
  • 1
  • 11
  • 25

3 Answers3

1

You cannot send an SMS to another phone that you only know by UDID. An SMS always needs a phone number as address.

DarkDust
  • 90,870
  • 19
  • 190
  • 224
  • Thanks for ur response. OK by using phone number, can we able to send sms through app without any cost. – Sandy_ios Sep 28 '11 at 07:44
  • Whether the user has to pay for SMS depends on his mobile contract and is beyond your reach. If there were any generic way to send gratis SMS everyone would be doing it, right ? – DarkDust Sep 28 '11 at 07:53
0

If you know the UDID then you can send Push Notification using your own server.

THIS WILL ALLOW THE USER TO CHAT WITHIN YOUR APPLICATION.

KingofBliss
  • 15,055
  • 6
  • 50
  • 72
0

No, this is not possible.

First SMS works with phone numbers, zo not a UDID.

The User will also be charged for sending a SMS and you can only send a SMS via de MFMessageComposeViewController. There is not way to do it in code only.

rckoenes
  • 69,092
  • 8
  • 134
  • 166