---
title: stopSearchingForNewAccessories()
framework: homekit
role: symbol
role_heading: Instance Method
path: homekit/hmaccessorybrowser/stopsearchingfornewaccessories()
---

# stopSearchingForNewAccessories()

Stops searching for new accessories.

## Declaration

```swift
func stopSearchingForNewAccessories()
```

## Discussion

Discussion After you call this method, HomeKit stops sending updates to your browser delegate. Scanning may continue for system reasons or if other delegates are still active, but the discoveredAccessories array remains unchanged after you stop the search until your app calls the startSearchingForNewAccessories() method again.

## See Also

### Discovering accessories

- [discoveredAccessories](homekit/hmaccessorybrowser/discoveredaccessories.md)
- [startSearchingForNewAccessories()](homekit/hmaccessorybrowser/startsearchingfornewaccessories().md)
