Enumeration Case

URLError.NetworkUnavailableReason.cellular

A reason that indicates network is unavailable because the interface is cellular and cellular network is disabled.

Declaration

case cellular

Discussion

This reason occurs when cellular is the only available network interface, but the URLSessionConfiguration property allowsCellularAccess is false.

See Also

Unavailability Reasons

case constrained

A reason that indicates network is unavailable because the user enabled “Low Data Mode” in the Settings app.

case expensive

A reason that indicates network is unavailable because the system marked the interface as expensive.