<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NIDLTDOAConfiguration/discoveryMethod-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "c:objc(cs)NIDLTDOAConfiguration(py)discoveryMethod"
  },
  "title" : "discoveryMethod"
}
-->

# discoveryMethod

The technology your app uses to discover DL-TDOA anchors.

```
var discoveryMethod: NIDLTDOAConfiguration.DiscoveryMethod { get set }
```

## Discussion

This property specifies Wi-Fi or Bluetooth Low Energy, depending on how your app scans for nearby DL-TDOA anchors. Set this property when configuring the session by calling [`init(networkIdentifier:discoveryMethod:)`](/documentation/NearbyInteraction/NIDLTDOAConfiguration/init(networkIdentifier:discoveryMethod:)).

If you use the [`init(networkIdentifier:)`](/documentation/NearbyInteraction/NIDLTDOAConfiguration/init(networkIdentifier:)) initializer instead, the framework defaults the property to [`NIDLTDOAConfiguration.DiscoveryMethod.bluetoothLowEnergy`](/documentation/NearbyInteraction/NIDLTDOAConfiguration/DiscoveryMethod-swift.enum/bluetoothLowEnergy).

---

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)