---
title: "removeBuffer(withName:contentWorld:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkusercontentcontroller/removebuffer(withname:contentworld:)"
---

# removeBuffer(withName:contentWorld:)

## Declaration

```swift
func removeBuffer(withName name: String, contentWorld world: WKContentWorld)
```

## Parameters

- `name`: The name of the buffer to remove.

## Discussion

Discussion Removes a previously added data buffer from the given `WKContentWorld
