<!--
{
  "availability" : [
    "macOS: 11.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ReplayKit",
  "identifier" : "/documentation/ReplayKit/RPBroadcastActivityController/showBroadcastPicker(at:from:preferredExtensionIdentifier:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ReplayKit"
    ],
    "preciseIdentifier" : "c:objc(cs)RPBroadcastActivityController(cm)showBroadcastPickerAtPoint:fromWindow:preferredExtensionIdentifier:completionHandler:"
  },
  "title" : "showBroadcastPicker(at:from:preferredExtensionIdentifier:completionHandler:)"
}
-->

# showBroadcastPicker(at:from:preferredExtensionIdentifier:completionHandler:)

Presents a list of available broadcast services for the user to select.

```
class func showBroadcastPicker(at point: CGPoint, from window: NSWindow?, preferredExtensionIdentifier preferredExtension: String?, completionHandler handler: @escaping @Sendable (RPBroadcastActivityController?, (any Error)?) -> Void)
```

## Parameters

`point`

The origin point within the specified window.

`window`

The window presenting the picker. Specify <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0> to present the picker from the main app window.

`preferredExtension`

The extension bundle identifier for the preferred broadcast extension service. Specify <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0> to show all extensions.

`handler`

The system calls this closure after the user selects a broadcast extension. The system passes the closure the selected broadcast activity controller, or an error if a failure occurred.

## Discussion

> Important:
> You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration:
> 
> ```swift
> class func showBroadcastPicker(at point: CGPoint, from window: NSWindow?, preferredExtensionIdentifier preferredExtension: String?) async throws -> RPBroadcastActivityController
> ```
> 
> For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/Swift/calling-objective-c-apis-asynchronously>.

---

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)