界面生成器中的 iPhone 视图太大
我的问题是我创建的每个视图都太大。
以下是一些示例: IB 中的标签栏:
[iPhone 上的标签栏: 这个问题出现在我的每一个观点中。 有人知道我该如何解决这个问题吗?
此致 梅兰妮
My problem is that every view, that I am creating is too large.
here are some examples:
Tab bar in IB:
[Tab Bar on iPhone:
This problem occurs in every of my views.
Does anybody know how I can solve that?
Best regards
Melanie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从屏幕截图来看,您似乎尝试将
UITabBarController
放入UINavigationController
中。根据文档,你不应该这样做。这可能是奇怪尺寸的原因。http://developer.apple.com/库/ios/#documentation/UIKit/Reference/UINavigationController_Class/Reference/Reference.html
From the screenshot, it looks like you've tried to put a
UITabBarController
inside aUINavigationController
. According to the docs, you shouldn't do this. It may account for the strange sizing.http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UINavigationController_Class/Reference/Reference.html
您确定您的 XIB 是 iPhone xib 而不是 iPad
,或者
请考虑如下设置您的视图框架。
are you sure your XIB is iPhone xib rather then iPad
or
second think set your viewframe like below.