One Logo Pool Ball
WebKit · IOS API REFERENCE

WebPage.FrameInfo

struct · iOS 26.0+ · SDK 27.1

@MainActor struct FrameInfo

A type that contains information about a frame on a webpage.

Members (3)

get · iOS 26.0+

isMainFrame

TypeScript
get isMainFrame(): Promise<boolean>
Swift declaration
@MainActor var isMainFrame: Bool { get }

Indicates whether the frame is the web site's main frame or a subframe.

get · iOS 26.0+

securityOrigin

TypeScript
get securityOrigin(): Promise<WKSecurityOrigin>
Swift declaration
@MainActor var securityOrigin: WKSecurityOrigin { get }

The frame’s security origin.

get · iOS 26.0+

request

TypeScript
get request(): Promise<_Foundation_URLRequest>
Swift declaration
@MainActor var request: URLRequest { get }

The frame’s current request.

Skipped declarations

No declarations were skipped in this snapshot.

All WebKit types →