Instance Property

body

The body of the message.

Declaration

var body: Any { get }

Discussion

Allowed types are NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull.

See Also

Inspecting Message Information

var frameInfo: WKFrameInfo

The frame sending the message.

var name: String

The name of the message handler to which the message is sent.

var webView: WKWebView?

The web view sending the message.