canShowMimeType
TypeScriptget canShowMimeType(): Promise<boolean>Swift declaration@MainActor var canShowMimeType: Bool { get }Indicates whether WebKit is capable of displaying the response’s MIME type natively.
struct · iOS 26.0+ · SDK 27.1
@MainActor struct NavigationResponseAn 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`.
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 response(): Promise<_Foundation_URLResponse>Swift declaration@MainActor var response: URLResponse { get }The frame’s response.
No declarations were skipped in this snapshot.