O'Reilly logo

Programming iOS 4 by Matt Neuburg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SMS Message

The MFMessageComposeViewController class, a UINavigationController, is even simpler. Instantiate the class, give it a messageComposeDelegate, configure it as desired, and present it modally. Configuration is through the recipients and body properties.

The delegate method messageComposeViewController:didFinishWithResult: is called with the same possible results as for a mail message. Dismissing the modal view is up to you, in the delegate method.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required