<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPlugInViewFactory/plugInView(withArguments:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(pl)WebPlugInViewFactory(cm)plugInViewWithArguments:"
  },
  "title" : "plugInView(withArguments:)"
}
-->

# plugInView(withArguments:)

Creates a new plug-in view.

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

## Parameters

`arguments`

Arguments used in creating the view.

## Return Value

The created view.

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)