DreamCloud
DreamCloud

Reputation: 123

Why does Autoresizing disappear when constraints are added?

When you create a new label in the storyboard, the Size Inspector menu looks like this: enter image description here

But as soon as you add constraints, the Autoresizing disappears: enter image description here

Why does this happen? Is it impossible for an item to be resizeable while constrained?

Upvotes: 1

Views: 23

Answers (1)

Shehata Gamal
Shehata Gamal

Reputation: 100503

No , it's not possible these are 2 separate ways to layout an element you can't have both at the same time , either with the old springs and struts ( Discouraged now ) or using auto-layout ( Recommended ) and that for pretty a lot of limitations regarding the old way look here discussing some problems

Upvotes: 1

Related Questions