Hi,
According to the documentation for the UIRequiresPersistentWiFI InfoPlist key, "iOS opens a Wi-Fi connection when this app is launched and keeps it open while the app is running". This suggests an app running on a phone that only has WiFi would fail to make requests with URLSession. I'd like to know how often this happens, is there an error code like the ones listed in https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes to indicate specifically that a request my app made failed because the Wi-Fi connection was closed?
Thanks!