[英]Why doesn't the xcode simulator show full screen
I upgraded my xcode to version 12.3 and now when I create a new project, the simulator does not show full screen.我将我的 xcode 升级到 12.3 版,现在当我创建一个新项目时,模拟器不显示全屏。 The old projects however, does show simulator in full screen.
然而,旧项目确实全屏显示模拟器。
I checked this (very old) question and it says to add a certain file, how can I do that?我检查了这个(非常老的)问题,它说要添加某个文件,我该怎么做?
In my case I removed launchScreen, and then added it back就我而言,我删除了launchScreen,然后将其添加回来
So, to add launch screen if u accidentally removed it,所以,如果你不小心删除了它,要添加启动屏幕,
Press cmd + n
按 cmd + n
This is allow you to add new launch screen这允许您添加新的启动屏幕
Then in the general tab under然后在一般选项卡下
App Icons and Launch Images
应用程序图标和启动图像
Set your launch screen file
设置启动屏幕文件
also in the deployment Info set也在部署信息集中
Main interface
主界面
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.