Search code examples
ipadinterfaceconstraintsxcode4.6autoresizingmask

xCode 4.6, iPad is it possible to use "old school" spring struts for storyboards instead of constraints?


I've recently had the misfortune to upgrade to xCode 4.6 and notice that as I'm laying out the storyboard for the old <--> |--| springs and struts for views are gone and are replaced by some weird content offsets relative to views. I no longer understand what happens to my views, and would like to use the "old school" springs and struts that I'm used to. Is it possible to force xCode 4.6 to show springs and struts for storyboard/nib files as they were in older xCode?

This is what I would like to see(autoresizing masks): old springs and struts

This is what I see instead (constraints):

enter image description here


Solution

  • just uncheck the Use autoLayout from your file Inspector. It will automatically remove constaraints from your xib

    select storyboard file, then the first icon in the right panel, the flag is on the bottom of the provided image. enter image description here