Contents

decidePolicy(for:)

Determines permission to navigate to new content after the response to the navigation request is known.

Declaration

@MainActor mutating func decidePolicy(for response: WebPage.NavigationResponse) async -> WKNavigationResponsePolicy

Parameters

  • response:

    Descriptive information about the navigation response.

Return Value

The navigation policy for the response.