If you set variation on constant, the constant is adapted when the app is reopened after going to the other app. So if you set the constant vaguely and fix the constant by code at viewDidAppear or willTransition, that part won’t get run at that time. Then constant at normal situations and the constant when the app is reopened after going to the app will be different!
[카테고리:] interface builder
Having fixed number of views with same UI
You can pin multiple views at the same time
You can change the view attribute of the multiple views at the same time
And also you can connect multiple buttons to one action and distinguish among buttons using the View’s Tag.
let tag = button.tag
image = UIImage(named: “\(tag)”)!
how to add lineBreak on IB
ctrl + enter
Make User Interaction only able on the view below other views
uncheck User Interaction Enabled in XIB view tab on the upper views
fixedFrame=YES
constraint가 모자를때 생기는 속성
page view controller
margin
margin을 superview에 주고
subview에서 constraint를 relative to superview margin으로 하면 적용됨
label height
label의 height는 text 크기에 맞춰서 정해지기 때문에
height를
l-ㅁ-ㅣ를 눌러서 constraint로 추가해주어야 한다