摘要: -JSONValue failed. Error is: Unescaped control character [0x0D]这个错误就是JSON解析的时候String 的时候出现转义字符。对应用NSString 里的stringByReplacingOccurrencesOfString:@"\r"withString:@"" 取消掉转义字符就OK那!NSString*json_string1=[json_stringstringByReplacingOccurrencesOfString:@"\r"withString:@&quo 阅读全文
posted @ 2013-05-17 14:36 ygm900 阅读(929) 评论(0) 推荐(0) 编辑
摘要: UIImageView *imgHeadView = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 60, 60)]; NSURL *url = [NSURL URLWithString:[[NSString alloc]initWithFormat:@"%@%@%@",nstrPublicUrl,@"/uploadfiles/",customerMgr.nsstrImgUrl]]; NSData *data = [NSData dataWithContentsOfURL:url]; UIImage 阅读全文
posted @ 2013-05-17 10:33 ygm900 阅读(1958) 评论(0) 推荐(0) 编辑