Contents

messageReceivedFromContainingApp(withName:userInfo:)

A method the system calls when the extension receives a message from the extension’s containing app.

Declaration

optional func messageReceivedFromContainingApp(withName messageName: String, userInfo: [String : Any]? = nil)

Parameters

  • messageName:

    A string that identifies the message.

  • userInfo:

    Optional message content.

See Also

Related Documentation

Receiving Messages in Your App Extension