IB Designables: Failed to render and update auto layout status

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

    For me this problem solved by,

    1. Updating pods.
    2. Changing build setting to '$(inherited)' for swift libraries embedded option.
    3. Building, cleaning, building.
    4. Closing project.
    5. Quitting Xcode.
    6. Running again.

    hahaha old hack :) Thanks!

提交回复
热议问题