摘要:
-JSONValue failed. Error is: Unescaped control character [0x0D]这个错误就是JSON解析的时候String 的时候出现转义字符。对应用NSString 里的stringByReplacingOccurrencesOfString:@"\r"withString:@"" 取消掉转义字符就OK那!NSString*json_string1=[json_stringstringByReplacingOccurrencesOfString:@"\r"withString:@&quo 阅读全文
摘要:
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 阅读全文