I am trying to display my data in a grouped table as below :
As you can see I have cleared the background view for the table by writing the following code in viewDidLoad :
customerTable.backgroundView = nil;
Also in my xib I have cleared the background of my table.
In cellForRowAtIndexPath I have set the background color for each table cell.
cell.backgroundColor = [UIColor colorWithRed:255.0/255 green:235.0/255 blue:178.0/255 alpha:1];
As a result I am getting the above output.
The problem I am facing is the black corners I am getting in every cell. I know it has something to do with background of the cell but nothing is working for me. I also tried to clear the background of cell writing the following code line:
cell.backgroundView = nil;
Try
customerTable.backgroundColor = [UIColor clearColor]; customerTable.opaque = NO; customerTable.backgroundView = nil;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With