LaunchScreen不会在任何设备和项目上显示

问题描述 投票:0回答:2

我尝试使用服务器方法来解决此问题,但似乎无济于事。 launchScreen将不会显示在任何设备或任何项目上。即使在模拟器中,launchScreen也不会显示。

我在启动画面中添加了background colorimageView

这是我已经尝试过的:

将其设置为initialViewController

添加新的viewController并删除旧的viewController

更改了info.plist中的名称

ios swift imageview storyboard simulator
2个回答
1
投票

请确保正确设置了启动屏幕文件名。

enter image description here


0
投票

可能有几种可能性。

  1. 确认您的启动屏幕已勾选Is Initial View Controller。这表明情节提要是发布的入口点。

enter image description here

  1. 您的Launch Screen File名称应该正确。您可以在项目目标的General标签中找到相同的内容。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.