摘要:
/// <summary> /// 获得字符串中开始和结束字符串中间得值 /// </summary> /// <param name="str">字符串</param> /// <param name="s">开始</param> /// <param name="e">结束</param> /// <returns></returns> public static string GetValue(string s 阅读全文
摘要:
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:@.. 阅读全文
摘要:
http://files.cnblogs.com/fanwa/iphone_download.zip 阅读全文