UITableView Custom Cells Disappearing content after Scrolling

前端 未结 10 1149
滥情空心
滥情空心 2020-12-17 00:12

I have seen this being asked here many times but none of the solutions worked for me. Here is my code snippet:

- (UITableViewCell *)tableView:(UITableView *)         


        
10条回答
  •  春和景丽
    2020-12-17 00:32

    In my case,because I have override this function:

    - (void)setFrame:(CGRect)frame
    {
    //    frame.origin.y += 10;
    //    frame.size.height -= 10;
        [super setFrame:frame];
    }
    
    

提交回复
热议问题