1

Possible Duplicate:
Remove autolayout (constraints) in Interface Builder

I am creating an app and I don't want the NSConstraints to be enabled because they are moving stuff in the UIViewController when I run the app.

Is there any way that I can disable them? Maybe a bit of code in each View Controller or just a setting.

Community
  • 1
  • 1
OnkaPlonka
  • 1,232
  • 10
  • 19

2 Answers2

6

Disable the autolayout in your xib's file inspector.

autolayout

Check this autolayout tutorial for resolving the issues, without disabling it.

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
3

Go to nib open attribute inspector go to first tab scroll down you can see auto layout option

there uncheck that checkbox. See image do same like as:

enter image description here

Vishal
  • 8,246
  • 6
  • 37
  • 52