Create compose mail when click button iOS swift
let receivers = event.receivers != nil ? [receivers] : []
let mailComposerVC = MFMailComposeViewController()
mailComposerVC.mailComposeDele
mailComposerVC.setToRecipients
mailComposerVC.setSubject( "")
mailComposerVC.setMessageBody(
self.viewControl.present(
The above code you have to implement in the action of the button.
receivers are the receiving mail id arrays you can pass.Also must have to implement the delegate in the viewController and delegate methods.
Comments
Post a Comment