One Logo Pool Ball
WebKit · IOS API REFERENCE

WKContentWorld

class · iOS 14.0+ · SDK 27.1

@MainActor class WKContentWorld

Members (5)

init · iOS 27.0+

init

TypeScript
static init(configuration: WKContentWorld_Configuration): Promise<WKContentWorld>
Swift declaration
init(configuration: WKContentWorld.Configuration)
static · iOS 14.0+

world

TypeScript
static world(name: string): Promise<WKContentWorld>
Swift declaration
class func world(name: String) -> WKContentWorld
get · iOS 14.0+

defaultClient

TypeScript
static get defaultClient(): Promise<WKContentWorld>
Swift declaration
class var defaultClient: WKContentWorld { get }
get · iOS 14.0+

page

TypeScript
static get page(): Promise<WKContentWorld>
Swift declaration
class var page: WKContentWorld { get }
get · iOS 14.0+

name

TypeScript
get name(): Promise<(string) | null>
Swift declaration
var name: String? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

WKContentWorld.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All WebKit types →