Remove autolayout (constraints) in Interface Builder
59,649
Solution 1
Go to the File inspector in interface builder, and untick "Use Auto Layout".
Solution 2
Go to the file inspector and uncheck the option 'Use Autolayout' below Document versioning.
Author by
Olof
Updated on September 17, 2021Comments
-
Olof over 2 years
I'm trying to make my project compatible with Snow Leopard and I am not able to remove the autolayout in the nibs using Interface builder (XCode 4.3 on Lion).
Is it possible to remove the constraints and the autolayout in a nib on XCode?
-
Nick over 11 yearsThis works just as well to maintain compatibility for pre-iOS 6 devices using interface builder. Thanks!
-
DrArt over 11 yearsI had to remove the "Use Auto Layout" to enable affine transformations working on an UIView inherited object. Thanks!
-
rjobidon over 11 years+1 Great! The File inspector is the first tab on right inspector. You have File, Quick Help, Identity, Attributes, Size and Connections.
-
JanB almost 11 yearsI found that by also removing 'Autoresize subviews' helped me with my sizing and positioning of objects.
-
Can Poyrazoğlu almost 11 yearsautoresize subviews is great if you DO want to work with constraints (which are actually useful if you get used to working with them) but don't want interface builder to override your constrainsts when you move anything.
-
Klaas about 10 yearsA picture tells more than 1000 words!
-
mins about 9 yearsYes, the picture is better than the text in the selected answer, but this is the same solution, and it is posted more than a year later. Too bad that the two answers are not merged and the rep points shared :-)