20. Sending Email

Email is a common feature found in many iPad apps. There are two main reasons for this:

1. Users want to share your app’s content with their friends.

2. Email is easy to implement in iOS apps.

PhotoWheel is no different. Users will want to share their favorite photos with others. And since adding email support is so simple, it would be a disservice to PhotoWheel users if we didn’t include the feature. That is the focus of this chapter: to show you how to send email from your iPad app.

How It Works

iOS includes the Message UI Framework, which provides specialized view controllers for composing email and SMS messages. Once the user finishes composing an email, her message is sent to the appropriate subsystem where it is then sent ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps with iOS 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.