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

StackOverflow https://stackoverflow.com/questions/15414345

Вопрос

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

Это было полезно?

Решение

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

Другие советы

Open the Utilities panel in XCode, select your XIB and click Show File Inspector in Xcode Utilities panel. It is the left most icon along the top. Uncheck "Use Autolayout".

Yes. Select the file in navigator then on the right, switch to the file property pane and turn off constraints.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top