IB Designables: Failed to render and update auto layout status

后端 未结 14 1151
花落未央
花落未央 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:44

    I don't really know much about the cause of this, but I've seen this a couple of times and every time it's fixed by just restarting xcode. I think that's where everyone should start and if that doesn't work then you can try the other suggested answers.

提交回复
热议问题