摘要: 1、添加 framework:将 SystemConfiguration.framework 添加进工程。2、下载 http://download.csdn.net/detail/svrsimon/4458137复制里面的 Reachability.h 和 Reachability.m 到项目中3、调用的代码:-(NSString*) GetCurrntNet{ NSString* result; Reachability *r = [Reachability reachabilityWithHostName:@"www.apple.com"]; switch ([r cu 阅读全文
posted @ 2012-07-27 14:42 志强思密达 阅读(202) 评论(0) 推荐(0) 编辑