<!--
{
  "availability" : [
    "iOS: 4.0.0 - 17.4.0",
    "iPadOS: 4.0.0 - 17.4.0",
    "macCatalyst: 13.1.0 - 17.4.0",
    "macOS: 10.6.0 - 14.4.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkReachabilitySetDispatchQueue(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkReachabilitySetDispatchQueue"
  },
  "title" : "SCNetworkReachabilitySetDispatchQueue(_:_:)"
}
-->

# SCNetworkReachabilitySetDispatchQueue(_:_:)

Schedules callbacks for the specified target on the specified dispatch queue.

```
func SCNetworkReachabilitySetDispatchQueue(_ target: SCNetworkReachability, _ queue: dispatch_queue_t?) -> Bool
```

## Parameters

`target`

The address or name that is set up for asynchronous notifications. Must not be `NULL`.

`queue`

The libdispatch queue on which the target should run. Pass `NULL` to disable notifications and release the queue.

## Return Value

`TRUE` if the target is scheduled successfully; otherwise, `FALSE`.

## Discussion

---

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)