Check Wifi On or Off Swift 4.2 Xcode 10

If you search on the internet, many website don't work for newest iOS. Finally i found the simple way to implement it. I found it on stackoverflow but still need a little bit change. You just need to change awd10 to en0.

Full code :

Hope it helps you.

Here's the source i got.

Popular posts from this blog

How to restart the app with flutter Android and iOS

How to have ConstraintLayout inside ScrollView and ScrollView inside ConstraintLayout Android

Missing system image Android Studio solution