开发者

Why can't I change the view's size of my view controller in Interface Builder?

In addition to view based application templat开发者_如何转开发e, I made a second view controller. When I open it's XIB in IB, I can't reduce the size of the view. It remains fullscreen. I want this view to contain some buttons only and then place this as a subview on another view.


It's likely because you have some of the "Simulated Interface Elements" turned on (in View Attributes)... probably the Status Bar, which is set to "Gray" by default. Make sure they are all set to "None", and then adjust away.

I run into this frequently myself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜