NSHost* myhost =[NSHost currentHost];
NSString *ad = [myhost address];
在xcode中取得本机ip地址
最新推荐文章于 2022-10-28 16:14:03 发布

NSHost* myhost =[NSHost currentHost];
NSString *ad = [myhost address];