# Titanium.UI.iOS.WebViewDecisionHandler

> It represents the decision handler to tell to webview, whether allow or cancel the navigation.

- Source: https://titaniumsdk.com/docs/sdk/13.3.1/Titanium.UI.iOS.WebViewDecisionHandler
- Titanium SDK version: 13.3.1
- Kind: proxy
- Platforms: iPhone, iPad, macOS
- Since: Titanium SDK iPhone 8.0.0, iPad 8.0.0, macOS 9.2.0
- Extends: Titanium.Proxy
- Inheritance: Titanium.Proxy

Returned as the `handler` parameter of [Titanium.UI.WebView.handleurl](https://titaniumsdk.com/docs/sdk/Titanium.UI.WebView.md#handleurl).
See the example section "Usage of allowedURLSchemes and handleurl in iOS" inside [Titanium.UI.WebView](https://titaniumsdk.com/docs/sdk/Titanium.UI.WebView.md) for usage.

## Methods

### invoke

- Platforms: iPhone, iPad, macOS

It calls the decision handler with given action policy.

Parameters:

- `value` (Number): Action policy passed to decision handle.

## Inherited members

6 members are inherited. Each is documented on the type that declares it.

- [Titanium.Proxy](https://titaniumsdk.com/docs/sdk/13.3.1/Titanium.Proxy.md): `addEventListener`, `apiName`, `applyProperties`, `bubbleParent`, `fireEvent`, `removeEventListener`

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

