swift [Application] The app delegate must implement the window property if it wants to use a main storyboard file.
报错问题修改
Xcode11 写了ios 12 及以下的程序,真机运行程序时,会出现黑屏现象。
只需要修改AppDelegate.swift 语句即可。
添加一句程序即可。
var window: UIWindow?
显示如下:
swift [Application] The app delegate must implement the window property if it wants to use a main storyboard file.
报错问题修改
Xcode11 写了ios 12 及以下的程序,真机运行程序时,会出现黑屏现象。
只需要修改AppDelegate.swift 语句即可。
添加一句程序即可。
var window: UIWindow?
显示如下: