Instance Property

messageComposeDelegate

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

Declaration

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

Discussion

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.