Xcode 4.5 + UIScrollView: Cannot see struts and springs (OSX 10.8 Mountain Lion)

后端 未结 3 2069
广开言路
广开言路 2021-02-13 04:53

Disclaimer: Brand new to iOS dev. Go easy on me.

Got a funny situation in Xcode 4.5. My Size Inspector looks like this:

3条回答
  •  滥情空心
    2021-02-13 05:33

    In Xcode 4.5, for iOS 6 and OSX 10.8 development, AutoLayout is being enabled by default.

    To turn it off, open your xib file and click on a blank spot (not on a view or any component). On the inspector panel, select the first tab and remove the "Use Autolayout" checkbox. Your springs and struts will be back.

    enter image description here

提交回复
热议问题