Stop the network tunnel.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
NEProvidercode indicating why the tunnel is being stopped. Possible codes are listed in
A block that must be executed when the tunnel is fully stopped.
This method is called by the system to stop the network tunnel.
NEPacketTunnelProvider subclasses must override this method.
Do not use this method to stop the tunnel from the Packet Tunnel Provider. Use