<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SharedWithYou",
  "identifier" : "/documentation/SharedWithYou/SWRemoveParticipantAlertController/init(participant:highlight:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Shared with You"
    ],
    "preciseIdentifier" : "c:objc(cs)SWRemoveParticipantAlertController(cm)alertControllerWithParticipant:highlight:"
  },
  "title" : "init(participant:highlight:)"
}
-->

# init(participant:highlight:)

Creates and initializes the alert controller.

```
convenience init(participant: SWPerson, highlight: SWCollaborationHighlight)
```

## Parameters

`participant`

The `SWPerson` displayed in the alert.

`highlight`

The `SWCollaborationHighlight` related to the request.

## Discussion

---

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)