NSHost* myhost =[NSHost currentHost];
NSString *ad = [myhost address];
在xcode中取得本机ip地址
最新推荐文章于 2021-08-11 15:43:59 发布
NSHost* myhost =[NSHost currentHost];
NSString *ad = [myhost address];