Gold challenge


#1

Hello,

This is the code I use to set background of UITableView

[code]// viewDidLoad
-(void) viewDidLoad
{

// Set Background of UITableView
self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.opaque = NO;
self.tableView.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"startup.png"]];

}[/code]

My question is. We should also have startup@2x.png - and it will be loaded by default by the app when testing on Retina right?
Does this take care of the part where the book says: “Bonus points for appropriately handling both retina display and non-retina display devices correctly with the same application”?

Finally, should the image be 320 in width and 420 in height?

The book says initial image (for non retina) should be 460x320 - when I use such image in my UITableView it seems
a bit stretched.

Also if I print dimensions of tableView, I get: {320, 460}. Any help?