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.

Declaration

@protocol WebPolicyDecisionListener

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.

Topics

Making Resource-Usage Decisions

- download

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

Required.

- ignore

Tells the listener to ignore the resource.

Required.

- use

Tells the listener to use the resource.

Required.

Relationships

Inherits From

See Also

Setting Policies (Legacy)