Xcode 8 - IB Designables - Failed to render and update auto layout status, The agent crashed

后端 未结 20 1260
半阙折子戏
半阙折子戏 2020-11-27 09:55

I recently upgraded to Xcode 8 and I am having issues with the Storyboard.

If I open the project and I don\'t have the Storyboard open, it will compile and run just

20条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 10:22

    Adding following code to my @IBDesignable class did the trick.

    override init(frame: CGRect) {
        super.init(frame: frame)
    }
    

提交回复
热议问题