For questions about the MFMessageComposeViewController class in iOS, which allows composing and sending text messages.
The MFMessageComposeViewController
class provides a standard system user interface for composing text messages. Use this class to configure the initial recipients and body of the message, if desired, and to configure a delegate object to respond to the final result of the user’s action—whether they chose to cancel or send the message. After configuring initial values, present the view controller modally using the presentModalViewController:animated:
method. When done, dismiss it using the dismissModalViewControllerAnimated:
method.