<!--
{
  "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/MCAdvertiserAssistantDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Multipeer Connectivity"
    ],
    "preciseIdentifier" : "c:objc(pl)MCAdvertiserAssistantDelegate"
  },
  "title" : "MCAdvertiserAssistantDelegate"
}
-->

# MCAdvertiserAssistantDelegate

The `MCAdvertiserAssistantDelegate` protocol describes the methods that the delegate object for an `MCAdvertiserAssistant` instance can implement to handle advertising-related events.

```
protocol MCAdvertiserAssistantDelegate : NSObjectProtocol
```

## Overview

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

## Topics

### Advertiser Assistant Delegate Methods

[`-  advertiserAssistantWillPresentInvitation:`](/documentation/MultipeerConnectivity/MCAdvertiserAssistantDelegate/advertiserAssistantWillPresentInvitation(_:))

Indicates that the advertiser assistant is about to present an invitation to the user.

[`-  advertiserAssistantDidDismissInvitation:`](/documentation/MultipeerConnectivity/MCAdvertiserAssistantDelegate/advertiserAssistantDidDismissInvitation(_:))

Indicates that the advertiser assistant finished showing the invitation to the user.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)