Is there a way to programmatically find the IP address of an iOS device? I tried the following
NSString* myIPAddress = [[NSHost currentHost] address];
but it seems like its giving me a IP v6 address.
Is there a way to programmatically find the IP address of an iOS device? I tried the following
NSString* myIPAddress = [[NSHost currentHost] address];
but it seems like its giving me a IP v6 address.