UITableView last line separator fades / appears again

I am developing for iOS 7, and I noticed that for ungrouped table views, the last separator sometimes appears at the bottom of the line and sometimes disappears. If I select this line, it usually leads to its disappearance, but sometimes I get the opposite behavior. Anyone else run into this issue?

+4
source share
1 answer

Create your own cell separator and add it to your cell

 UIImageView *customSeperator=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"YourOnePixelImg.png"]];

 [customSeperator setFrame:CGRectMake(0, cell.frame.size.height-3, cell.frame.size.width, 2)];

 [cell  addSubview:customSeperator];
0
source

All Articles