I have some confusion around the usage of DeviceDiscoveryUI. The documentation suggests that it is available only on TVOS. But with the recent announcement of WifiAware, it has been used in iOS devices as well. Within DeviceDiscoveryUI, the DevicePicker or the DevicePairingView documentation seems to be available with iOS. Is this just a documentation mistake?
Followup - Can I use DeviceDiscoveryUI's DevicePicker/ DevicePairingView to discover devices through Bonjour and then establish a connection through Network framework?
When it was first introduced, DeviceDiscoveryUI supported a single use case, namely, a tvOS app that wants to connect to its equivalent running on a nearby iOS device.
That changed in iOS 26, where DeviceDiscoveryUI is now part of the Wi-Fi Aware story. This is one of two paths into Wi-Fi Aware, the other being AccessorySetupKit. WWDC 2025 Session 228 Supercharge device connectivity with Wi-Fi Aware has the details.
Can I use DeviceDiscoveryUI… to discover devices through Bonjour … ?
No. The DDUI support is wired up to Wi-Fi Aware’s discovery infrastructure, not to Bonjour.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"