@IBDesignable view doesn't draw background color inside Interface Builder

后端 未结 0 583
野趣味
野趣味 2021-02-15 04:53

I\'m curious why doesn\'t this set the backgroundColor to red?

@IBDesignable class CustomLabel: UIView {

  let view = UIView()

  func setup() {
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题