我正在为iOS 7开发,我注意到对于非分组的表视图,最后一行的底部分隔符有时会出现,有时会消失。如果我选择那一行,通常会导致它消失,但有时我会得到相反的行为。还有其他人遇到过这个问题吗?
答案 0 :(得分:0)
创建自己的细胞分离器并将其添加到细胞
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];