polish code

This commit is contained in:
Bob Sun 2017-02-09 16:36:42 +08:00
parent b97500ed1e
commit 52b007866f
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -87,7 +87,6 @@ class BasicStaticTableViewController: UITableViewController, MFMailComposeViewCo
func sendEmail(toRecipients recipients: [String]) {
let mailVC = MFMailComposeViewController()
mailVC.mailComposeDelegate = self
print(recipients)
mailVC.setToRecipients(recipients)
mailVC.setSubject("Subject for email")
mailVC.setMessageBody("Email message string", isHTML: false)