---
title: "removeItems(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webhistory/removeitems(_:)"
---

# removeItems(_:)

Removes the specified items from the web history.

## Declaration

```swift
func removeItems(_ items: [Any]!)
```

## Parameters

- `items`: An array of web history items to remove.

## Discussion

Discussion When successful, this method posts a notification (WebHistoryItemsRemovedNotification).

## See Also

### Adding and Removing History Items

- [addItems(_:)](webkit/webhistory/additems(_:).md)
- [removeAllItems()](webkit/webhistory/removeallitems().md)
