I have a view controller presented modally to let people sign up for a newsletter that then calls MFMailComposer
. Once the mail is sent, I want to be able to dismiss the modal view controller after I click Send on the email window. Is this possible?
This was incorrectly marked a duplicate because my code is structured as follows:
CustomViewController calls ModalViewController ModalViewController calls MailComposer After user clicks send the ModalViewController needs to be dismissed.