How to trigger system alert in VPNConfiguration?

Hello! I developed a vpn application with PacketTunnel target. And I found that an app can pop up a system alert when connecting through VPN settings. I want to know how this approach is achieved.

And I found that an app can pop up a system alert when connecting through VPN settings. I want to know how this approach is achieved.

The alert that is being shown in your screen shot is an alert prompting you to start the VPN from the actual host application when you try to connect the VPN manually from the Settings app. It looks like the configuration is already installed on the Device and the system is wanting the user to start from the app and not the Settings app.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
How to trigger system alert in VPNConfiguration?
 
 
Q