I see absolutely nothing under Size Inspector in I

2019-06-14 21:49发布

I see no settings at all under Size Inspector in Interface Builder, it is completely blank for my View, all labels and all buttons. I am using xcode 4.6 and have 'Use Autolayout' unchecked and the metrics (Size, Status Bar, Top Bar, Bottom Bar) are all 'None'. I need to be able to control the autoresizingmask, but why can't I see any size properties?

4条回答
干净又极端
2楼-- · 2019-06-14 21:58

I ran into this problem using Xcode 5.0 but upon further investigation, discovered the dysfunction ran to a higher degree - all Inspector views in Xcode were blank for every control, and the Navigator buttons didn't work either.

The culprit seems to have been a conflict in versioning. When I re-checked out trunk, Xcode returned to expected behavior.

查看更多
来,给爷笑一个
3楼-- · 2019-06-14 22:06

Once you switch to Size Inspector tab, directly under the icon there is a little header that says "View." If you hover over that some text appears that says "Show," because apparently that section can collapse down. Clicking the header should cause the options you expect to appear.

I wish they would make this more clear, because I completely missed it as well, and restarted Xcode several times.

查看更多
We Are One
4楼-- · 2019-06-14 22:07

This worked for me......

  1. Clear Menu -> Recent Files i cleared last open storyboard from Recent files

  2. Restart Xcode

查看更多
再贱就再见
5楼-- · 2019-06-14 22:10

Resizing the Xcode window made things right again for me - go figure.

查看更多
登录 后发表回答