NEVPNManager Connect to VPN in Swift
I can't find a clear answer on how to do this, so that's why I created this thread. I'm developing a Swift application (Swift 2), where I want to connect with an VPN Server using a function. So I want to create a func connect() { //Handle the connection to the VPN } I received this https://gist.github.com/matthijsotterloo/cedf256f7f1c2a9a8f624481b7083afd file from the developer who made the VPN (of course I replaced certs,keys,url's and login's. Now my question is how can I connect to this VPN server in the function? I already found out I have to use the NEVPNManager but I can't really find