UITableView Custom Cells Disappearing content after Scrolling

前端 未结 10 1169
滥情空心
滥情空心 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:35

    This behavior in TableView had got me head banging literally. Turns out I had used

    @property (weak, nonatomic) NSMutableArray *itemsArray;
    

    instead of

    @property (strong, nonatomic) NSMutableArray *itemsArray;
    

    Hope this information helps.

提交回复
热议问题