One Logo Pool Ball
WebKit · IOS API REFERENCE

WKScriptMessage

class · iOS 8.0+ · SDK 27.1

@MainActor class WKScriptMessage

Members (6)

init

init

TypeScript
static init(): Promise<WKScriptMessage>
Swift declaration
init()
get · iOS 8.0+

body

TypeScript
get body(): Promise<unknown>
Swift declaration
var body: Any { get }
get · iOS 8.0+

frameInfo

TypeScript
get frameInfo(): Promise<WKFrameInfo>
Swift declaration
@NSCopying var frameInfo: WKFrameInfo { get }
get · iOS 8.0+

name

TypeScript
get name(): Promise<string>
Swift declaration
var name: String { get }
get · iOS 8.0+

webView

TypeScript
get webView(): Promise<(WKWebView) | null>
Swift declaration
weak var webView: WKWebView? { get }
get · iOS 14.0+

world

TypeScript
get world(): Promise<WKContentWorld>
Swift declaration
var world: WKContentWorld { get }

Skipped declarations

No declarations were skipped in this snapshot.

All WebKit types →