IPSEC VPN SDK demo for iOS
This is a demo application for iOS with basic usage of CakeTube (IPSEC) VPN SDK.
Last updated
Was this helpful?
This is a demo application for iOS with basic usage of CakeTube (IPSEC) VPN SDK.
Last updated
Was this helpful?
iOS 9 or newer
Download latest SDK:
In your project
Add CakeTubeSDK.framework for Application target
In your project: Project > Build Settings:
Set Other Linker Flags to -ObjC
.
Make sure Personal VPN entitlement is enabled for your application.
In your AppDelegate object initialize SDK:
Make sure if you are logged in before connecting VPN, if not – sign in with any available method.
After you're logged in, you're good to go start VPN:
Handle VPN state notifications:
If you have to choose VPN server country before connecting, you can call availableServers
and then startVpn
with specific country.
For more detailed information refer to