Hello,
My tunnel works fine (NEPacketTunnelProvider), but when I change interface (from wifi to 3g or the other way), I have problems and very often it does not work. Note that my tunnel only logs DNS queries, there is no connection with an external server.
My question is: Do I have to apply a special logic when the interface is changed?
Perhaps I have to call setTunnelNetworkSettings every time the interface is changed, or maybe cancelTunnelWithError. Can anyone tell me about this? Apart from that, what´'s the proper way to know if the current interface changes? Is it listening defaultPath?
Thanks a lot.