Set up delegates for MFMessageComposeViewController & MFMailComposeViewController. Dismissing them when their respective callbacks are called, and outputting the result to the Xcode console.