Assertion failure in dequeueReusableCellWithIdentifier:forIndexPath:

前端 未结 22 1481
长情又很酷
长情又很酷 2020-11-22 10:10

So I was making an rss reader for my school and finished the code. I ran the test and it gave me that error. Here is the code it\'s referring to:

- (UITableV         


        
22条回答
  •  星月不相逢
    2020-11-22 10:47

    Just a supplement of the answers: There may be a time you set all things right, but you may accidentally add some other UIs in you .xib, like a UIButton: Just delete the extra UI, it works.

提交回复
热议问题