Xcode: Autosizing preview window missing

后端 未结 3 1078
遥遥无期
遥遥无期 2021-01-14 23:35

I am learning iOS and using Apress - Beggining iOS 5 development book. The book says there is a window to preview UI elements\'s autosizing behaviour in size inspector as:

相关标签:
3条回答
  • 2021-01-15 00:14

    I have found the answer here Xcode 4.3 not presenting Autoresizing panel in Size Inspector Just uncheck "Use Auto Layout" option on file inspector tab:
    enter image description here

    0 讨论(0)
  • 2021-01-15 00:23

    While you are editing XIB or storyboard file. You can see "Size Inspector" tab panel at right menu. It has a ruler icon.

    But the view -that you want to set it's layout- must be selected. At this sample on screenshot, a Label (text:social) is selected.

    enter image description here

    0 讨论(0)
  • 2021-01-15 00:29

    This tutorial can help to your problem.

    http://msmvps.com/blogs/kevinmcneish/archive/2012/12/10/tutorial-ios-6-auto-layout-versus-springs-and-struts.aspx

    0 讨论(0)
提交回复
热议问题