How to disable auto layout by default for xcode 4.5

You can open your template files located in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates/User Interface/, in each directory, there are .xib files. They are XML files, open them with a text editor.
Replace the following line:
 key="IBDocument.UseAutolayout">YES
to
 key="IBDocument.UseAutolayout">NO
I will repeat though, this is not recommended.

Leave a Comment