开发者

Interface Builder - Accurate Layout

I am working on a GUI in Interface Builder for an iPhone app.

In my view controller, I would like to have a toolbar at the top and then some controls (i.e. a view) that are centralized in the lower portion of the view.

The problem that I am having is that I want things to be centralized in the area below the toolbar but the whole screen size (including the toolbar) is being used when centralizing.

Any ideas how to effectively achieve this type of layout - it must be pretty开发者_如何学编程 common but I haven't found anything yet.

Thanks, Alan


You might want to try putting all your control area below the toolbar in a separate subview, since that subview might do what you want as it resizes.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜