IB Designables: Failed to render and update auto layout status

后端 未结 14 1137
花落未央
花落未央 2020-12-13 04:11

I have a custom view (xib) that has a UIButton inside of it, I made id IBDesignable doing the following:

UserView.swif

14条回答
  •  独厮守ぢ
    2020-12-13 04:55

    XCode 11.6

    If you are using a UITableView & prototype cells, Select UITableView and in the attributes inspector, simply increase the count of Prototype cells. Then xcode will automatically build it again & will fix the issue. Once it is solved,reduce the count to previous value.

提交回复
热议问题