[iOS]Xcode11的部分改变
更新Xcode11.1后,写demo时发现这个版本开发工具有了一些改变. 默认创建了SceneDelegate, info字典中也添加了"Application Scene Manifest", AppDelegate中也多了两个方法. 并且,AppDelegate默认没有声明"window"属性, 运行时会报错"The app delegate must implement the window property if it wants to use a main storyboard file", 给他将"window"属性加上就没了报错.
搜索得知SceneDelegate是iPadOS用来做多窗口支持的,我暂时用不到, 将更新这些东西统统删掉就回到了以前的Xcode版本.
不喜欢使用Main.storyboard(不太会,用得不流畅), 删掉info表中的"Main storyboard file base name",
再将Main Interface改为Launchcreen, 后面就可以用xib或纯代码愉快的写demo了.