Instance Property


The delegate to which message-related notifications should be sent.


unowned(unsafe) var messageComposeDelegate: MFMessageComposeViewControllerDelegate? { get set }


When the user taps a button to send or cancel the message, your delegate is notified and should respond by dismissing the message composition interface. For more information about implementing the methods of your delegate object, see MFMessageComposeViewControllerDelegate.

See Also

Responding to the View Controller Dismissal

protocol MFMessageComposeViewControllerDelegate

An interface for responding to user interactions with a message compose view controller.