获取手机本地ip,ios使用
#import "IPAdress.h"
- (NSString *)deviceIPAdress {
InitAddresses();
GetIPAddresses();
GetHWAddresses();
return [NSString stringWithFormat:@"%s", ip_names[1]];
}
相关下载链接:
//download.csdn.net/download/c471961491/10175507?utm_source=bbsseo