2

I've found a few articles online such as this one which discuss using the new NetworkExtension.framework in iOS 8 and it's corresponding NEVPNManager class to create custom VPN configurations programatically.

It's implied that these configurations will only affect my app, and not other things in the background, but I've been unable to find anything definitive. The code references various things with names like sharedManager so it's not obvious.

So, if I create a VPN programatically with NEVPNManager and connect to it from within my iOS app, will it affect other apps and/or background services?

Orion Edwards
  • 121,657
  • 64
  • 239
  • 328

1 Answers1

1

We're using NEVPNManager to connect VPN, that limits internet connectivity. All the apps on the device fail to connect their services, when our VPN is connected. However, some system services (like APNS) are still working somehow.

Denis
  • 6,313
  • 1
  • 28
  • 27
  • 1
    Also, if you're looking for limiting VPN per app, this can be achieved with MDM Enterprise features, but I think not mixing with NEVPNManager API. iOS 9 looks to provide more API above VPN management. – Denis Jun 17 '15 at 06:58