Do you have to set translatesAutoresizingMaskIntoConstraints to false for a ViewController's 'main' view?

前端 未结 0 915
日久生厌
日久生厌 2021-02-14 11:54

I have a blank Swift project in Xcode and am not using storyboard. I have a view that I\'ve added in code under viewDidLoad:

var view1 = UIView()
view1.backgroun         


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