Today we will learn How To Send SMS and Call in iPhone Apps Swift, there is an existing framework for sending Messages (sms). The Message UI framework provides view controller for developers to present standard interface for composing SMS text message within apps.
The framework provides class named MFMessageComposeViewController for handling text message.
Sending SMS from App
First, import the MessageUI framework into the project.
Now implement the MFMessageComposeViewControllerDelegate.