iOS8 - constraints ambiguously suggest a height of zero

前端 未结 18 1840
青春惊慌失措
青春惊慌失措 2020-12-02 14:15

Has anyone got any idea how to debug this?

Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview c

18条回答
  •  暖寄归人
    2020-12-02 14:27

    In my case, it is because I'm designing the cell with xib, and I forget to add that xib file to the target.

    After I add that xib file to the target, the problem is gone

提交回复
热议问题