我需要NSMutableArray加载一个从服务 url 加载的图像。我可以从 XML 响应中检索图像标签。现在我想要那个图像UITableViewCell
我的数组看起来像这样:
(
{
Image="46b6daca-3.png";
}
{
Image="9251bfe5-d.jpg";
}
)  
如何单独加载每个图像UITableViewCell?
为了创建一个 UILabel 我知道它是这样的:
 NSMutableDictionary *d = (NSMutableDictionary *) [arr objectAtIndex:indexPath.row];
 UILabel *line1=[[UILabel alloc]initWithFrame:CGRectMake(10, 68, 320,10)];
    line1 .font=[UIFont fontWithName:@"arial" size:12];        
    [line1 setTextAlignment:UITextAlignmentLeft];
    [line1  setText:[d valueForKey:@"Name"]];
    line1.tag=113;
    [cell addSubview:line1 ];
    [line1  release]; 
我该如何为 UIImage 做呢?