<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PushToTalk",
  "identifier" : "/documentation/PushToTalk/PTChannelManager/requestJoinChannel(channelUUID:descriptor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Push to Talk"
    ],
    "preciseIdentifier" : "c:objc(cs)PTChannelManager(im)requestJoinChannelWithUUID:descriptor:"
  },
  "title" : "requestJoinChannel(channelUUID:descriptor:)"
}
-->

# requestJoinChannel(channelUUID:descriptor:)

Joins a channel with the identifier and descriptor you specify.

```
func requestJoinChannel(channelUUID: UUID, descriptor: PTChannelDescriptor)
```

## Parameters

`channelUUID`

The channel identifier.

`descriptor`

The channel description.

## Discussion

If successful, you receive a callback from [`channelManager(_:didJoinChannel:reason:)`](/documentation/PushToTalk/PTChannelManagerDelegate/channelManager(_:didJoinChannel:reason:)) with `PTChannelJoinReasonProgrammaticRequest`; otherwise, you receive a failure reason through [`channelManager(_:failedToJoinChannel:error:)`](/documentation/PushToTalk/PTChannelManagerDelegate/channelManager(_:failedToJoinChannel:error:)).

> Note:
> You can only join a channel in the foreground.

The framework uses shared system resources, so only one PTT channel can be active on the system at a time.

```swift
// Create a descriptor an app uses to join a channel.    
let channelImage = UIImage(named: "ChannelImage")    
channelDescriptor = PTChannelDescriptor(name: "The channel name",                                                                             
                                        image: channelImage)

// Join a channel with a unique identifier and descriptor.
channelManager.requestJoinChannel(channelUUID: channelUUID,
                                  descriptor: channelDescriptor)
```

The system uses the same unique identifier when interacting with the manager throughout the life of the channel, so when joining a channel, store the descriptor and UUID for later use.

---

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)