---
title: startBrowsingForPeers()
framework: multipeerconnectivity
role: symbol
role_heading: Instance Method
path: multipeerconnectivity/mcnearbyservicebrowser/startbrowsingforpeers()
---

# startBrowsingForPeers()

Starts browsing for peers.

## Declaration

```swift
func startBrowsingForPeers()
```

## Discussion

Discussion After this method is called (until you call stopBrowsingForPeers()), the framework calls your delegate’s browser(_:foundPeer:withDiscoveryInfo:) and browser(_:lostPeer:) methods as new peers are found and lost.

## See Also

### Browsing for Peers

- [stopBrowsingForPeers()](multipeerconnectivity/mcnearbyservicebrowser/stopbrowsingforpeers().md)
