Platforms to show: All Mac Windows Linux Cross-Platform

WKNavigationActionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An object that contains information about an action that causes navigation to occur.

Use a WKNavigationAction object to make policy decisions about whether to allow navigation within your app’s web view. You don’t create WKNavigationAction 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 action and determine whether to allow the resulting navigation to occur.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Navigation Types

Constant Value Description
NavigationTypeBackForward 2 An item from the back-forward list was requested.
NavigationTypeFormResubmitted 4 A form was resubmitted (for example by going back, going forward, or reloading).
NavigationTypeFormSubmitted 1 A form was submitted.
NavigationTypeLinkActivated 0 A link with an href attribute was activated by the user.
NavigationTypeOther -1 Navigation is taking place for some other reason.
NavigationTypeReload 3 The webpage was reloaded.

This class has no sub classes.

Some events using this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Mac64bit Plugin.


WKHTTPCookieStoreMBS   -   WKNavigationMBS


The biggest plugin in space...