I want my tableview cell to have colored border and rounded corners. Thats what i tried:
// Color [cell.contentView.layer setBorderColor:[UIColor colorWithHexString:@"dbd7d7"].CGColor]; // Rounded corners [cell.layer setCornerRadius:7.0f]; [cell.layer setMasksToBounds:YES]; [cell.layer setBorderWidth:2.0f]; cell.layer.borderColor = [UIColor colorWithHexString:@"dbd7d7"].CGColor; However, there is odd "white triangles" on right and left borders. Please take a look:
How to fix that?
