Enumeration Case

NSURLErrorNetworkUnavailableReasonExpensive

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

Declaration

NSURLErrorNetworkUnavailableReasonExpensive = 1

Discussion

The system determines what constitutes “expensive” based on the nature of the network interface and other factors. iOS 13 considers most cellular networks and personal hotspots expensive, but this may change in the future.

This reason occurs when the following conditions are true:

See Also

Unavailability Reasons

NSURLErrorNetworkUnavailableReasonCellular

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

NSURLErrorNetworkUnavailableReasonConstrained

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