×

Get IP Address

iOS 14 +

Notes

Gets the devices IP address.

Syntax

getIP(source: <#Enumeration (WFIPAddressSourceOption) (Optional)#>, type: <#Enumeration (WFIPAddressTypeOption) (Optional)#>)

Example

getIP(source: External, type: IPv4)