Trouble settings content hugging and compression for labels in UIStackView

前端 未结 0 1688
离开以前
离开以前 2020-12-10 11:48

I am having issues getting my head around content compression and resistance on labels. Consider:

let label1 = UILabel()
label1.text = "hello"
label         


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