这是一种合适的方式还是有更好的解决方案?将UIImageView添加到自定义UITableView Cell
非常感谢!
Code
(rowAtIndexPath)
UIImageView * imageView = [[UIImageView alloc] initWithFrame:CGRectMake(500, 50, 20, 20)];
imageView.image = [UIImage imageNamed:@"Icon.png"];
[cell addSubview:imageView];
[http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewCells/TableViewCells.html](http://developer。 apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewCells/TableViewCells.html):) – Kjuly
我只是使用[cell addSubview:imageView]。但对于其余的它看起来不错 – Novarg