How to start a VPN connection with Widget ios 17?

I need to implement a VPN connection from the ios 17 widget without opening the main application. (I have seen such an implementation in other applications) How can this be implemented?

Is this a VPN configuration that you control? That is:

  • Your app creating the configuration with the Personal VPN API.

  • Or your app has implemented a custom VPN transport — using either a packet tunnel provider or an app proxy provider — and this is a VPN configuration for that transport.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to start a VPN connection with Widget ios 17?
 
 
Q