Contents

navigationDelegate

The object you use to manage navigation behavior for the web view.

Declaration

weak var navigationDelegate: (any WKNavigationDelegate)? { get set }

Discussion

Provide a delegate object when you want to manage or restrict navigation in your web content, track the progress of navigation requests, and handle authentication challenges for any new content. The object you specify must conform to the WKNavigationDelegate protocol.

See Also

Managing navigation between webpages