Decides whether to allow or cancel a navigation after its response is known.
- iOS 8.0+
- macOS 10.10+
The web view invoking the delegate method.
Descriptive information about the navigation response.
A block to be called when your app has decided whether to allow or cancel the navigation. The block takes a single parameter, which must be one of the constants of the enumerated type
Your delegate can either call the block immediately or save the block and call it asynchronously at a later time.