How to populate a UITableViewCell with the correct resolution image?
问题 I have set up a UITableView that contain cells of images. I am using Asset Catalog to name the images appropriately as image1.png, image1@2x.png, and image1@3x.png. I have an NSMutableArray that I initialize with the image names from Asset Catalog, for example like so: viewDidLoad: self.LogoArray = [ [NSMutableArray alloc] initWithObjects:@"image1",@"image2", image2", nil]; Then I created a Custom Cell with my own custom image to display in the cell: - (UITableViewCell *)tableView: