How to get the external ip in Objective-C

前端 未结 3 1410
萌比男神i
萌比男神i 2020-12-06 07:41

I looked for some code that will help me to get the ip that the iPhone connect with.

I find this one:

- (NSString *)getIPAddress
{
    NSString *addr         


        
3条回答
提交回复
热议问题