invalid nib registered for identifier (CELLNAME) - nib must contain exactly one top level object which must be a UITableViewCell instance

后端 未结 14 2173
情书的邮戳
情书的邮戳 2020-12-14 00:03

Sorry for the long title, but I wanted it to be clearly seen from a google search. Also, this differs from many of the other similar questions on here as its not specifying

14条回答
  •  无人及你
    2020-12-14 00:19

    I had the same problem as above but I wasn't using storyboards and the problem just appeared out of the blue.

    I found that the solution was in the tableview cell file. I had added a uibutton, but it had been added outside the bounds of the cell by mistake. This meant it was almost like an extra view in the uiview.

    Once I found it and deleted this extra view the problem disappeared immediately.

    If you have having this error, check the uitableviewcell for extra views and objects added by mistake

提交回复
热议问题