<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "tvOS: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceDiscoveryUI",
  "identifier" : "/documentation/DeviceDiscoveryUI/DDDevicePickerViewController/init(browseDescriptor:parameters:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "DeviceDiscoveryUI"
    ],
    "preciseIdentifier" : "s:So28DDDevicePickerViewControllerC17DeviceDiscoveryUIE16browseDescriptor10parametersABSg7Network9NWBrowserC0I0O_AG12NWParametersCSgtcfc"
  },
  "title" : "init(browseDescriptor:parameters:)"
}
-->

# init(browseDescriptor:parameters:)

Creates a view controller that displays the available devices on your local network.

```
@MainActor @preconcurrency convenience init?(browseDescriptor: NWBrowser.Descriptor, parameters: NWParameters? = nil)
```

## Parameters

`browseDescriptor`

A descriptor for your application service. To create an application service descriptor, call `NWBrowser.Descriptor.applicationService(name:options:)` and provide a name for the service.

`parameters`

Parameters for your network connection. Use <doc://com.apple.documentation/documentation/Network/NWParameters/applicationService> to create a default set of parameters that create an encrypted connection with the other devices. You can also add `a` <doc://com.apple.documentation/documentation/Network/NWProtocolFramer> to provide an application-level messaging protocol.

---

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)