Contents

didBecomeActive(with:)

Invoked after the Messages extension becomes active.

Declaration

func didBecomeActive(with conversation: MSConversation)

Parameters

  • conversation:

    The conversation that the user is currently viewing in the Messages app.

Discussion

Override this method to respond after the Messages extension becomes active. The extension becomes active both when the user selects the extension from the app drawer, and when the user selects a message in the transcript that represents an MSMessage object created by a copy of the extension.

See Also

Managing the Extension’s State