---
title: "webPlugInContainerLoad(_:inFrame:)"
framework: Objective-C Runtime
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/webplugincontainerload(_:inframe:)"
---

# webPlugInContainerLoad(_:inFrame:)

Loads a URL into a web frame.

## Declaration

```swift
func webPlugInContainerLoad(_ request: URLRequest!, inFrame target: String!)
```

## Parameters

- `request`: The request that specifies the URL.
- `target`: The frame into which the URL is loaded.

## Discussion

Discussion If the frame specified by target is not found, a new window is opened, loaded with the URL request, and given the specified frame name. If target is nil, the frame enclosing the plug-in is loaded with the URL request.

## See Also

### Performing actions on the enclosing container

- [webPlugInContainerShowStatus(_:)](objectivec/nsobject-swift.class/webplugincontainershowstatus(_:).md)
