You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Turn Network Off unplugging net cable and switch off Wi-Fi connection on Mac
Build and start project in Simulator
We get string "Offline" on output. Everything is fine right now.
Switch internet connection On connecting to WiFi. Run some net activity in project. Download some data successfully. Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification.
Another scenario with same code.
Turn Network On unplugging net cable but switch Wi-Fi connection On
Build and start project in Simulator
We get string "Online" on output. Everything is fine right now.
Switch Wi-Fi off.
We get string "Offline" on output. Everything is perfect! But
Reconnect Wi-Fi. Run some net activity in project. Download some data successfully.
Ooops.
Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification again.
The text was updated successfully, but these errors were encountered:
Little experiment on XCODE 11.5
Add Reach.swift to project
Add code
to viewDidLoad() of ViewController
Turn Network Off unplugging net cable and switch off Wi-Fi connection on Mac
Build and start project in Simulator
We get string "Offline" on output. Everything is fine right now.
Switch internet connection On connecting to WiFi. Run some net activity in project. Download some data successfully. Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification.
Another scenario with same code.
Turn Network On unplugging net cable but switch Wi-Fi connection On
Build and start project in Simulator
We get string "Online" on output. Everything is fine right now.
Switch Wi-Fi off.
We get string "Offline" on output. Everything is perfect! But
Reconnect Wi-Fi. Run some net activity in project. Download some data successfully.
Ooops.
Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification again.
The text was updated successfully, but these errors were encountered: