开发者

tableview row become empty

I have a TableView with subclassed tableviewCells. Whenever the cell is tapped it will show a small article. But when this article is viewed and I sc开发者_StackOverflow社区roll the tableview, the cell will be empty and the text is at the bottom of my tableview.

I don't know how to fix it. Can someone help me out on this?

Thanks in advance


The problem is from dequeueReusableCellWithIdentifier: you must use different cell identifier because you reuse the cells.


The problem is with your cellIdentifier. Its got to do with reusing the cell.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜