One Logo Pool Ball
WebKit · IOS API REFERENCE

WebPage.NavigationResponse

struct · iOS 26.0+ · SDK 27.1

@MainActor struct NavigationResponse

An object that contains the response to a navigation request, and which you use to make navigation-related policy decisions. A `NavigationResponse` value is intended to be used to make policy decisions about whether to allow navigation within a web page via a `NavigationDeciding`.

Members (2)

get · iOS 26.0+

canShowMimeType

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

Indicates whether WebKit is capable of displaying the response’s MIME type natively.

get · iOS 26.0+

response

TypeScript
get response(): Promise<_Foundation_URLResponse>
Swift declaration
@MainActor var response: URLResponse { get }

The frame’s response.

Skipped declarations

No declarations were skipped in this snapshot.

All WebKit types →