An error that is returned when the network is not available.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
- Xcode 8.0+
Network failure errors can be retried immediately, but your app should implement a backoff timer so that it doesn't attempt the same operation repeatedly.
If the network is unavailable, your app should start monitoring for network reachability and wait to reissue the operation until the network is available again. See
CFNetwork for more information about these errors.