SCNetworkReachabilityScheduleWithRunLoop(_:_:_:)
Schedules the specified network target with the specified run loop and mode.
Declaration
func SCNetworkReachabilityScheduleWithRunLoop(_ target: SCNetworkReachability, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> BoolParameters
- 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
TRUE if the target is scheduled successfully; otherwise, FALSE.