<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceDiscoveryUI",
  "identifier" : "/documentation/DeviceDiscoveryUI/DDDevicePairingViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DeviceDiscoveryUI"
    ],
    "preciseIdentifier" : "c:@M@DeviceDiscoveryUI@objc(cs)DDDevicePairingViewController"
  },
  "title" : "DDDevicePairingViewController"
}
-->

# DDDevicePairingViewController

A UIKit view that displays and manages the device discovery and pairing process.

```
@MainActor @objc @preconcurrency final class DDDevicePairingViewController
```

## Topics

### Creating a device-pairing view controller

[`init(listenerProvider: any ListenerProvider, access: DDDevicePairingAccess)`](/documentation/DeviceDiscoveryUI/DDDevicePairingViewController/init(listenerProvider:access:))

Initializes a device-pairing view controller with the provided listener and requested access level for device discovery.

### Configuring a device-pairing view

[`func viewDidLoad()`](/documentation/DeviceDiscoveryUI/DDDevicePairingViewController/viewDidLoad())

Configures the view after the framework loads the view controller’s view into memory.

### Determining device support

[`static func isSupported(any ListenerProvider) -> Bool`](/documentation/DeviceDiscoveryUI/DDDevicePairingViewController/isSupported(_:))

Returns a Boolean value that indicates whether the current device supports device discovery using Wi-FI Aware.

## Relationships

### Conforms To

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`Hashable`](/documentation/Swift/Hashable)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

---

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)