This content has been marked as final.
Show 2 replies
-
Re: PacketTunnelProvider wifi or ethernet
eskimo Dec 28, 2016 3:05 PM (in response to roee84)for OSX I want to do the same thing and detect changes between wifi and ethernet … So how can I do it?
I would expect you to use the same strategy as you use on iOS. Does that not work?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: PacketTunnelProvider wifi or ethernet
roee84 Jan 10, 2017 3:10 AM (in response to eskimo)Sorry for the delay - just now I noticed your response.
For iOS, the observer is to detect the changes between 3G to Wifi, and it's done via the isExpensive property
For MacOS, I need to detect changes between WIFI and ethernet, and for both cases isExpensive = false.
So I need a different strategy to do it
-