UITableViewCell - overlapping with previous cells contents

后端 未结 5 1451
名媛妹妹
名媛妹妹 2021-02-08 15:22

I have this wierd problem with my table

  1. i Have about 20 cells to display
  2. Each cell is about 84px in height
  3. When i click no the cell, i have set a
5条回答
  •  不思量自难忘°
    2021-02-08 15:34

    I also had the same issue.I also had composed tableView with labels.And when I scroll it down the contents got overlapped.But it got solved simply by editing one statement in cellForRowAtIndexPath.

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:nil];
    

    I think this will solve your problem.

提交回复
热议问题