×

Is Connected to VPN (iOS-only)

iOS 15 +

Notes

Returns whether the device is connected to a VPN.

Syntax

isConnectedToVPN()

Example

isConnectedToVPN()