Instance Property

isMainFrame

A Boolean value indicating whether the frame is the web site's main frame or a subframe.

Declaration

var isMainFrame: Bool { get }

See Also

Inspecting Frame Information

var request: URLRequest

The frame’s current request.

var securityOrigin: WKSecurityOrigin

The frame’s security origin.