Chapter 12. Sending Mail
Ever since the first public release of the iPhone SDK, applications have always had the ability to send e-mail. Unfortunately, prior to iPhone SDK 3.0, doing so meant crafting a special URL and then launching the iPhone's Mail application, which has the side effect of quitting your own application. This is obviously less than ideal, forcing a user to choose between sending an e-mail and continuing to use your application. Fortunately, the new MessageUI framework allows your user access to e-mail without leaving your application. Let's take a look at how this works.
This Chapter's Application
In this chapter, we're going to build an application that lets the user take a picture using their iPhone's camera or, if they don't ...