I am building a system in iOS on ipad which records appointments. Once a appointment is scheduled, a message needs to be sent to the number given while scheduling. Is there a way i can send a SMS through ipad?
Asked
Active
Viewed 605 times
1
-
http://stackoverflow.com/a/59200/365188 – Ozair Kafray May 09 '12 at 05:30
-
Shouldn't be any different than on iPhone. The UIMessage framework is your friend :) – Rens Verhage May 09 '12 at 05:30
-
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/SystemMessaging_TopicsForIOS/Articles/SendinganSMSMessage.html – Ozair Kafray May 09 '12 at 05:31
-
possible duplicate of [How to programmatically send SMS on the iPhone?](http://stackoverflow.com/questions/10848/how-to-programmatically-send-sms-on-the-iphone) – Ozair Kafray May 09 '12 at 05:32
-
@OzairKafray I went through all the links you provided. I helped. But all say that it is not possible for ipad. I require it for ipad with ios5. Any other link can be helpful. Thanks. – southpark May 09 '12 at 06:49
1 Answers
0
It's not possible to send an SMS while remaining in the app on iOS.
You could allow the user to send an SMS by tapping an element which would bring up the messages app and allow you to send one there, but not in the app itself.
You could however, use your own solution in Obc-C (or written in another language such as PHP) which sends the messages through a message gateway.
An example would be this: http://net.tutsplus.com/tutorials/php/how-to-send-text-messages-with-php/

Charlie
- 11,380
- 19
- 83
- 138