---
title: "SCNetworkReachabilityScheduleWithRunLoop(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkreachabilityschedulewithrunloop(_:_:_:)"
---

# SCNetworkReachabilityScheduleWithRunLoop(_:_:_:)

Schedules the specified network target with the specified run loop and mode.

## Declaration

```swift
func SCNetworkReachabilityScheduleWithRunLoop(_ target: SCNetworkReachability, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> Bool
```

## Parameters

- `target`: The address or name that is set up for asynchronous notifications. Must not be NULL.
- `runLoop`: The run loop on which the target should be scheduled. Must not be NULL.
- `runLoopMode`: The mode in which to schedule the target. Must not be NULL.

## Return Value

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

## See Also

### Preparing to Determine Reachability

- [SCNetworkReachabilityGetTypeID()](systemconfiguration/scnetworkreachabilitygettypeid().md)
- [SCNetworkReachabilitySetCallback(_:_:_:)](systemconfiguration/scnetworkreachabilitysetcallback(_:_:_:).md)
- [SCNetworkReachabilityUnscheduleFromRunLoop(_:_:_:)](systemconfiguration/scnetworkreachabilityunschedulefromrunloop(_:_:_:).md)
- [SCNetworkReachabilitySetDispatchQueue(_:_:)](systemconfiguration/scnetworkreachabilitysetdispatchqueue(_:_:).md)
