iOS 7 UITableView: is it a bug or is it me?

后端 未结 4 883
故里飘歌
故里飘歌 2021-02-14 14:35

Please see the attached image. In table views in iOS 7, UIKit draws a thin gray vertical line between the accessory view and the reordering control. However, when the table view

4条回答
  •  礼貌的吻别
    2021-02-14 15:07

    You can try this using

    -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
    {
        cell.backgroundColor=[UIColor clearColor];
        cell.backgroundView=nil;
    }
    

    this method might be helpful or something that might be in you cell like some image or what.? or you can check that using allocation of cell like this place if(cell==nil) instead if(1)and alloc cell eveytime

提交回复
热议问题