Contents

messageComposeDelegate

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

Declaration

weak var messageComposeDelegate: (any 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