首次推出iOS 9黑屏

时间:2015-09-19 06:44:44

标签: xcode swift swift2 xcode7

我有一个iOS8应用程序,在Xcode 7.0(7A218)中运行后,我在首次启动时出现黑屏。但我之前看过Launch Screen。我也在控制台看到了警告:

Sep 19 09:36:56  GestureKeyboard[2640] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

的ViewController

import UIKit

class ViewController: UIViewController {
    @IBOutlet var imageView : UIImageView!
    @IBOutlet var label : UILabel!
}

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

在Xcode 6 / iOS 8中引入了故事板作为启动屏幕,因此我猜测如果您定位iOS7,则需要为每个设备分辨率提供单独的图像。 / p>

相关问题