質問

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