Closed arnoappenzeller closed 9 years ago
Sometimes you need to distinguish between Wifi and Mobile Connection.
I added the method isConnectedToNetworkOfType() -> ReachabilityType Which returns an enum value of the type: enum ReachabilityType { case WWAN, WiFi, NotConnected }
isConnectedToNetworkOfType() -> ReachabilityType
enum ReachabilityType { case WWAN, WiFi, NotConnected }
Also enhanced the example for it
Hi Arno,
Just saw the pull request. I didn't get any email notification or anything. Anyway, I merged it with the original source. Thank you :+1:
Sometimes you need to distinguish between Wifi and Mobile Connection.
I added the method
isConnectedToNetworkOfType() -> ReachabilityType
Which returns an enum value of the type:enum ReachabilityType { case WWAN, WiFi, NotConnected }
Also enhanced the example for it