---
title: "plugInView(withArguments:)"
framework: WebKit
role: symbol
role_heading: Type Method
platforms: [macOS 10.3+]
path: "webkit/webpluginviewfactory/pluginview(witharguments:)"
---

# plugInView(withArguments:)

Creates a new plug-in view.

## Declaration

```swift
static func plugInView(withArguments arguments: [AnyHashable : Any]!) -> NSView!
```

## Parameters

- `arguments`: Arguments used in creating the view.

## Return Value

Return Value The created view.

## Discussion

Discussion This method returns an NSView object that conforms to the WebPlugIn informal protocol. The arguments dictionary should be specified by the keys and objects described in Constants. This method is required.
