I have setup a Plain UITableView with a backgroundColor of UIColor clearColor. The trouble is that all the cells are now draw as transparent. I am able to resolve the background color of the cells that are draw from my data source.
Could someone please let me know if I can draw a white background on the cells that have nothing assigned? For example if I have only one cell added to the data source then all the remaining cells are transparent. I was hoping that I could use one of the following methods to custom draw the background on the other cells that are not assigned by my data source:
rectForSection:
rectForRowAtIndexPath:
Is this possible? Thanks!
Could someone please let me know if I can draw a white background on the cells that have nothing assigned? For example if I have only one cell added to the data source then all the remaining cells are transparent. I was hoping that I could use one of the following methods to custom draw the background on the other cells that are not assigned by my data source:
rectForSection:
rectForRowAtIndexPath:
Is this possible? Thanks!