Contents

WKNavigationResponse

An object that contains the response to a navigation request, and which you use to make navigation-related policy decisions.

Declaration

@MainActor class WKNavigationResponse

Overview

Use a WKNavigationResponse object to make policy decisions about whether to allow navigation within your app’s web view. You don’t create WKNavigationResponse objects directly. Instead, the web view creates them and delivers them to the appropriate delegate objects. Use the methods of your delegate to analyze the response and determine whether to allow the resulting navigation to occur.

Topics

Getting the Response Details

Getting Additional Response Information

See Also

Navigation