Ayush's Blog

Setting background color of UITableViewCell in UINib doesn't work for iPad

Using a UINib to create a UITableViewCell was one of the best conveniences I had in long time. The problem started when the backgroundColor set in the UINib didn’t take effect for iPad builds. I had to set the backgroundColor explicitly in code for each cell. Here is the relevant commit.