iOS Xcode 11 的变化
仅目前发现的,有不足之处,希望小伙伴留言评论。
1、User Interface 项可选择 SwiftUI 和 Storyboard。
2、在选择 Swift 或 Storyboard 后系统会自动增加SceneDelegate类。
此时如果删除ScenDelegate类,运行后出现黑屏、报错:
错误一:
Info.plist configuration "(no name)" for UIWindowSceneSessionRoleApplication contained UISceneDelegateClassName key, but could not load class with name "SceneDelegate".
解决方法:
在info.pllist文件中,删除 Application Scene Manifest 字段。