<!--
{
  "availability" : [
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/continuityDevicePicker(isPresented:onDidConnect:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP07_AVKit_aB0E22continuityDevicePicker11isPresented12onDidConnectQrAA7BindingVySbG_ySo012AVContinuityF0CSgcSgtF"
  },
  "title" : "continuityDevicePicker(isPresented:onDidConnect:)"
}
-->

# continuityDevicePicker(isPresented:onDidConnect:)

A `continuityDevicePicker` should be used to discover and connect
nearby continuity device through a button interface or other form of activation.
On tvOS, this presents a fullscreen continuity device picker experience when selected.
The modal view covers as much the screen of `self` as possible when a given condition is true.

```
@MainActor @preconcurrency func continuityDevicePicker(isPresented: Binding<Bool>, onDidConnect: ((AVContinuityDevice?) -> Void)? = nil) -> some View
```

## Parameters

`isPresented`

A `Binding` to whether the modal view is presented.

`onDidConnect`

A closure executed when the picker successfully, connects AVContinuityDevice or nil if cancelled by a user.

---

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)