摘要: 首先添加框架:SystemConfiguration.framework然后引用#import具体方法的实现 (注意:模拟器是获取不到的,只有在真机上跑才可以!)- (NSString*) getDeviceSSID{ NSArray*ifs = (__bridgeid)CNCopySupporte... 阅读全文
posted @ 2015-05-04 09:57 高贺 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1首先要在当前所在的类导入这几个头文件:#include #include #include #include #import 2具体代码的实现://获取手机的网络的ip地址- (NSString *)getIPAddress{ BOOL success; struct ifaddrs ... 阅读全文
posted @ 2015-04-29 11:52 高贺 阅读(2874) 评论(1) 推荐(0) 编辑