Storyboard warning: prototype table cells must have reuse identifiers

前端 未结 11 1092
礼貌的吻别
礼貌的吻别 2020-12-07 19:36

I am getting this warning from storyboard - prototype table cells must have reuse identifiers.

I have renamed the identifier in the attributes inspector but it does

11条回答
  •  醉话见心
    2020-12-07 20:14

    Be sure that you are setting the Reuse Identifier on the object, rather than the Restoration ID. Both are available via the storyboard, and easily confused.

    In the storyboard XML file you'll want to be setting reuseIdentifier, not restorationIdentifier.

提交回复
热议问题