Learning iPad Programming: A Hands-On Guide to Building iPad Apps with iOS 5
by Kirby Turner, Tom Harrington
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access