iOS-GetIP Get the IP address test for question iOS获取IP地址问题 Reference:Objective C - How to get the public IP address of the device