How to add a cell-free view in UITableView?

advertisements

I will like add a white view under all cell in to the UITableView, because TableView background is Clear Color, and when Cell N is one or two under these is clear.

Screenshot

I will like under these cells view color will white.

P.D. Sorry, my english is so bad. =(


You mentioned above that there are UIView elements on your UITableView background so setting he background color of it would not work, correct?

You could try setting the background color of the UITableViewCell itself, and add any of your custom views as subviews on the cell.

cell.backgroundColor = [UIColor whiteColor];