虽然说这样的效率不好,但是既然有这样的方式就有这种方式存在的道理

我记录一下其实现方法:

1
cell.imageViewPic.image = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"personpanel-%@-zfx.jpg",[dic valueForKey:@"person_id"]] relativeToURL:[NSURL URLWithString:@"http://xxxx.xxxx.xxxxx/xxxx/"]]]];

cell.imageViewPic是一个实例化的UIImageview