<!--
{
  "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/stopWirelessControllerDiscovery()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Game Controller",
      "GameController"
    ],
    "preciseIdentifier" : "c:objc(cs)GCController(cm)stopWirelessControllerDiscovery"
  },
  "title" : "stopWirelessControllerDiscovery()"
}
-->

# stopWirelessControllerDiscovery()

Stops searching for nearby wireless controllers.

```
class func stopWirelessControllerDiscovery()
```

## Discussion

If you call this method while the framework searches for wireless controllers, the framework stops searching and invokes the completion handler you pass to the [`startWirelessControllerDiscovery(completionHandler:)`](/documentation/GameController/GCController/startWirelessControllerDiscovery(completionHandler:)) 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)