原来如此简单,哪 怕是读取的是网络中的图片也是这样的:
static NSString *CellIdentifier = @"Cell";
CHCustomDetailCell *cell = (CHCustomDetailCell *)[tableViewDemo dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
cell = (CHCustomDetailCell *)[[[CHCustomDetailCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]