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

后端 未结 0 1868
没有蜡笔的小新
没有蜡笔的小新 2021-02-15 04:38

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

@IBDesignable class CustomLabel: UIView {

  let view = UIView()

  func setup() {
           


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