admin管理员组

文章数量:1636931

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?

显示如下: 

参考资料:https://www.jianshu/p/3de524451fe0

本文标签: 报错appdelegateSwiftapplication