Implementing e-mail messaging
In this recipe we will learn about the
MFMailComposeViewController class, and how we can use this to incorporate e-mail messaging within our application.
Following on from our previous recipe, we will look at how to implement the
sendEmail method to compose an e-mail with the selected book details whenever a transfer has taken place.
How to do it...
To begin, follow these simple steps as outlined in the following order:
- Open the
BooksViewController.hinterface file from the Project Navigator window.
- Next, modify the interface file and add the following highlighted code sections.
// BooksViewController.h // BooksLibrary // Created by Steven F Daniel on 03/12/12. // Copyright (c) 2012 GenieSoft Studios. All ...