2

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.

edc1591
  • 10,146
  • 6
  • 40
  • 63
user1120008
  • 1,005
  • 4
  • 13
  • 27

0 Answers0