Protocol

WebPolicyDecisionListener

This protocol enables WebView policy delegates to communicate with listener objects. A listener object conforming to this protocol is passed as one of the arguments to web view policy delegate methods.

Overview

This protocol allows delegates to handle download decisions asynchronously. For example, the policy delegate may display a sheet, and the listener object gets notified only after the user clicks an OK or Cancel button. You do not directly create objects that conform to this protocol.

Symbols

Making Resource-Usage Decisions

func download()
Required.

Tells the listener to download the resource instead of displaying it.

func ignore()
Required.

Tells the listener to ignore the resource.

func use()
Required.

Tells the listener to use the resource.

Relationships

Inherits From