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.
https://stackoverflow.com/a/41672571/2899321
Full code :
Hope it helps you.
Here's the source i got.
https://stackoverflow.com/a/41672571/2899321