删除LaunchScreen会弄乱应用程序的外观 [英] Removing LaunchScreen messes up the looks of the app
问题描述
我将LaunchScreen添加到了我的应用程序中,只是为了对其进行尝试,并且它没有任何问题.当我仅通过删除LaunchScreen.storyboard文件将其删除时,运行该应用程序时仍会显示启动屏幕.然后,我从info.plist文件中将其删除,并出现了意外的行为,现在我的应用程序以非全屏模式显示,并且放大了一点.此外,我收到警告消息,提示我缺少默认的@ 568.png文件.添加启动屏幕之前,如何恢复到该状态?还是只是在没有此警告的情况下删除LaunchScreen?
I added LaunchScreen to my app, just to try it out and it works with no issues. When I went and removed it just by removing LaunchScreen.storyboard file, launch screen still showed up when I run the app. I then removed it from info.plist file and got an unexpected behavior, now my app appears in non-full screen mode and a bit zoomed in. Plus, I get the warning message that I'm missing default @568.png file. How can I revert to the state before adding Launch Screen? Or just remove LaunchScreen without this warning?
感谢所有 杜尚
推荐答案
您是否尝试过删除应用目标>常规"部分中启动屏幕文件"字段中的引用?
Have you tried deleting the reference in the field "Launch Screen File" in your app target > "General" section ?
这篇关于删除LaunchScreen会弄乱应用程序的外观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!