-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reachability only ever called once, not changing after! #216
Comments
@ashleymills thank you for your response, I've had a look at those but still can't get it to work. I believe I'm doing it exactly the same as those examples and solutions. Not sure why its not working for me or what I'm missing.
Can you spot anything that I'm missing? Thanks |
Ive tried everything, just can't get it to work :( Both closures fire off once only! After that never again. I have also declared: var reachability = Reachability()! outside the functions and at the top of the class. |
Please can you @ashleymills or anyone help me with this? As i have no idea what else to try. thanks |
Ate you anywhere perhaps stopping the notifier? |
Or removing the observer? |
Sorry forgot to update this, yeah actually it was working fine. The only issue was that i was testing on the simulator and turning the macbooks wifi connection off, for some reason it doesnt work on simulator properly and only calls the closure functions once each. Testing it on a device solved all the issues :) thanks |
Hi,
Im using the closures example on the wiki.
Im using the simulator, I've tried in both iPhone 7 plus and iPhone 7.
I start my app with network enabled, close the network wifi down, it catches it as its supposed to.
However, i then turn the wifi back on and reachability still shows up as being Not Reachable.
Basically none of the closures are ever called again after the first time.
Any help with this please?
Thanks.
The text was updated successfully, but these errors were encountered: