<!--
{
  "availability" : [
    "iOS: 7.0.0 - 27.0.0",
    "iPadOS: 7.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 10.10.0 - 27.0.0",
    "tvOS: 10.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MultipeerConnectivity",
  "identifier" : "/documentation/MultipeerConnectivity/MCNearbyServiceBrowserDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Multipeer Connectivity"
    ],
    "preciseIdentifier" : "c:objc(pl)MCNearbyServiceBrowserDelegate"
  },
  "title" : "MCNearbyServiceBrowserDelegate"
}
-->

# MCNearbyServiceBrowserDelegate

The `MCNearbyServiceBrowserDelegate` protocol defines methods that a `MCNearbyServiceBrowser` object’s delegate can implement to handle browser-related events.

```
protocol MCNearbyServiceBrowserDelegate : NSObjectProtocol
```

## Overview

No assumption should be made about which queue the delegate methods are called on. It is the receiver’s responsibility to ensure that any `UIKit` updates are called on the main thread.

## Topics

### Error Handling Delegate Methods

[`browser(_:didNotStartBrowsingForPeers:)`](/documentation/MultipeerConnectivity/MCNearbyServiceBrowserDelegate/browser(_:didNotStartBrowsingForPeers:))

Called when a browser failed to start browsing for peers.

### Peer Discovery Delegate Methods

[`browser(_:foundPeer:withDiscoveryInfo:)`](/documentation/MultipeerConnectivity/MCNearbyServiceBrowserDelegate/browser(_:foundPeer:withDiscoveryInfo:))

Called when a nearby peer is found.

[`browser(_:lostPeer:)`](/documentation/MultipeerConnectivity/MCNearbyServiceBrowserDelegate/browser(_:lostPeer:))

Called when a nearby peer is lost.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)