---
title: "accessoryBrowser(_:didUpdate:)"
framework: externalaccessory
role: symbol
role_heading: Instance Method
path: "externalaccessory/eawifiunconfiguredaccessorybrowserdelegate/accessorybrowser(_:didupdate:)"
---

# accessoryBrowser(_:didUpdate:)

Indicates that the browser’s state has changed.

## Declaration

```swift
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdate state: EAWiFiUnconfiguredAccessoryBrowserState)
```

## Parameters

- `browser`: The instance of doc://com.apple.externalaccessory/documentation/ExternalAccessory/EAWiFiUnconfiguredAccessoryBrowser that is generating the event.
- `state`: The current state of the browser. See doc://com.apple.externalaccessory/documentation/ExternalAccessory/EAWiFiUnconfiguredAccessoryBrowserState for possible values.

## Discussion

Discussion When the browser state changes, the delegate typically provides feedback to users. For example, the delegate might show whether the scan is currently active or inactive, or it might indicate that Wi-Fi is unavailable if a user starts a scan while the device is in airplane mode.

## See Also

### Getting Updates About Browser State

- [EAWiFiUnconfiguredAccessoryBrowserState](externalaccessory/eawifiunconfiguredaccessorybrowserstate.md)
