Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove autolayout (constraints) in Interface Builder

People also ask

How do I turn off auto Layout in XCode?

Disable Auto Layout by unchecking the Use Autolayout (sic) or Use Auto Layout box in Xcode's File Inspector. This option appears for both iOS and OS X projects.

How do you clear constraints in XCode?

Open Utilities panel on XCode and select Size Inspector. Here list of all constraints are listed for selected view in storyboard. Now, select constraint(s) you want to delete. Now hit Backspace key on keyboard and selected constraints are deleted.

How do I fix unable to simultaneously satisfy constraints?

Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it.


Go to the File inspector in interface builder, and untick "Use Auto Layout".


enter image description here

Go to the file inspector and uncheck the option 'Use Autolayout' below Document versioning.