What is the correct approach if the user press "connect", and then quit the app. Should I disconnect the VPN?
Why do you think that’s a good idea? In general, VPN connectivity is not tied to the app that started it. For example, with the built-in VPN transports, you can connect from Settings but they don’t disconnect when you quit Settings.
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"