iosOnNavigationResponse method

Future<IOSNavigationResponseAction?>? iosOnNavigationResponse(
  1. IOSWKNavigationResponse navigationResponse
)
inherited

Called when a web view asks for permission to navigate to new content after the response to the navigation request is known.

navigationResponse represents the navigation response.

NOTE: available only on iOS.

Official iOS API: https://developer.apple.com/documentation/webkit/wknavigationdelegate/1455643-webview

Implementation

Future<IOSNavigationResponseAction?>? iosOnNavigationResponse(
    IOSWKNavigationResponse navigationResponse) {
  return null;
}