Hi,
we are developing an iOS application that should do the following tasks:
Monitoring the network connection (we are actually using NWPathMonitor)
When the device is not connected to a secure WIFI, active an our VPN, otherwise it has to switch-off VPN
Is this possibile to develop the 2nd step in an iOS environment for all app lifecycle states (foreground, background and even in the not running state)?
If it is possible, which API / Architecture we have to implement? Widgets could be a way?
Thanks in advance