---
title: "didDeselectTabs(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkwebextensioncontroller/diddeselecttabs(_:)"
---

# didDeselectTabs(_:)

Should be called by the app when tabs are deselected to fire appropriate events with all loaded web extensions.

## Declaration

```swift
func didDeselectTabs(_ deselectedTabs: [any WKWebExtensionTab])
```

## Parameters

- `deselectedTabs`: The set of tabs that were deselected.

## Discussion

Discussion This method informs all loaded extensions that tabs have been deselected, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension’s context instead.
