摘要: /// <summary> /// 获得字符串中开始和结束字符串中间得值 /// </summary> /// <param name="str">字符串</param> /// <param name="s">开始</param> /// <param name="e">结束</param> /// <returns></returns> public static string GetValue(string s 阅读全文
posted @ 2012-03-01 16:35 凡娃软件 阅读(8290) 评论(0) 推荐(0) 编辑
摘要: 1.添加framework:将SystemConfiguration.framework 添加进工程。2.下载https://developer.apple.com/library/ios/samplecode/Reachability/Reachability.zip复制里面的Reachability.h和Reachability.m到项目中调用的代码://判断当前的网络是3g还是wifi-(NSString*)GetCurrntNet{ NSString* result; Reachability *r = [ReachabilityreachabilityWithHostName:@.. 阅读全文
posted @ 2012-03-01 11:09 凡娃软件 阅读(515) 评论(0) 推荐(0) 编辑
摘要: http://files.cnblogs.com/fanwa/iphone_download.zip 阅读全文
posted @ 2012-03-01 09:42 凡娃软件 阅读(408) 评论(0) 推荐(0) 编辑