Author Topic: How to get around the iOS 8 bug where iPad table view cells remain white  (Read 7954 times)


  • Administrator
  • *****
  • Posts: 719
    • View Profile
If you are building a universal app and you set the background color of a table view cell in Interface Builder, the color of the cell changes for the iPhone at run time, but not the iPad. This is a bug!

To get around this, you can set the background color of the cell in the tableView:cellForRowAtIndexPath: method. For example:

Code: [Select]
cell.backgroundColor = UIColor.blackColor()
All the best!
Kevin McNeish
Author of Learn to Code in Swift:
Check out our Robot Tic-Tac-Toe app:
« Last Edit: November 15, 2015, 10:20:12 AM by kjmcneish »