<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCController/startWirelessControllerDiscovery(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Game Controller",
      "GameController"
    ],
    "preciseIdentifier" : "c:objc(cs)GCController(cm)startWirelessControllerDiscoveryWithCompletionHandler:"
  },
  "title" : "startWirelessControllerDiscovery(completionHandler:)"
}
-->

# startWirelessControllerDiscovery(completionHandler:)

Starts searching for nearby wireless controllers.

```
class func startWirelessControllerDiscovery(completionHandler: (@Sendable () -> Void)? = nil)
```

## Parameters

`completionHandler`

The block that the framework calls when it completes the request.

## Discussion

Call this method when the user chooses to discover wireless controllers from your interface. The framework searches asynchronously for discoverable wireless controllers. The framework posts the <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/GCControllerDidConnect> (Swift) or [`GCControllerDidConnectNotification`](/documentation/GameController/GCControllerDidConnectNotification) (Objective-C) notification when it discovers new controllers. Implement the completion handler you pass to this method to handle when the framework finishes discovering controllers or when it times out.

If you call the [`startWirelessControllerDiscovery(completionHandler:)`](/documentation/GameController/GCController/startWirelessControllerDiscovery(completionHandler:)) method multiple times during discovery, the framework only calls the last completion handler you pass to this method.

---

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)