Introduction
I will demo some sample to present how to send SMS in iphone programming.
Sample 1
The easiest way is this demo.
Sample 2
We can use MessageUI Framework and MFMessageComposeViewController to send SMS.
You have to handle a callback method of MFMessageComposeViewControllerDelegate so as to dismiss the modal view controller.
Sample 3
This is a full sample code for MFMessageComposeViewController.