I use MessageUI
framework to send message.
Here is the code to send message:
let messageComposeVC = MFMessageComposeViewController()
messageComposeVC.messageComposeDelegate = self
messageComposeVC.body = self.textView.text
messageComposeVC.recipients = [contact]
self.present(messageComposeVC, animated: false, completion: nil)
then it show a screen like this:
I don't want to show up this screen, I want to send message directly. Is it possible?