ios - iPhone 的 UIViewController 大小不正确

标签 ios xcode uiviewcontroller storyboard size

我有一些不寻常的错误。

我在 Interface builder(在 Storyboard中)中创建了一些 UIViewController。 我在“iPhone 5s”上启动它,但他显示的屏幕较小:

enter image description here

我有:

Size : Inferred
Resize View From NIB : Yes

马可

最佳答案

在你的项目文件中,只需添加一个名为 Default-568h@2x.png 的启动图像,问题就可以解决:)

关于ios - iPhone 的 UIViewController 大小不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23675994/

相关文章:

ios - 当我的 UIViewController 在我的 Swift 应用程序中显示给用户时,如何检查它是否被查看?

objective-c - 当 View Controller 即将在 iOS4 中弹出时得到通知

ios - 将数据从多个 VC 传递到 Swift 中的最后一个

ios - PreferredInterfaceOrientationForPresentation 没有被调用

iphone - 当我在 iphone sdk 中发推文时应用程序崩溃

ios - kCLErrorDomain代码= 8“该操作无法完成。

ios - iOS 应用程序中的联系人同步

android - 文本段落程序逻辑中的用户标记

ios - Xcode Swift - 修改 subview 属性

ios - 从指定点呈现模态 Controller