MFMailComposeViewController view does not dismiss 2nd time
I have what I believe is a unique problem. I am having trouble getting my email window to dismiss. I am using Xcode 8. The email dismisses correctly the first time I open it, but if I open it again it won't. If I press "Cancel" it does not give me the option to "Delete Draft". If I press "Send" the email is sent, but the window does not dismiss. My code is below. The mailComposeController gets called correctly the first time, but it never gets called a second time. Does anyone have any ideas about what I am missing? let mail = MFMailComposeViewController() func sendEmail(body: String, subject: