xcode中的启动图像源未显示 [英] Launch Image source in xcode did not show

查看:110
本文介绍了xcode中的启动图像源未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的xcode 11.5中,我无法从路径 Target->常规->应用程序图标和启动图像->看到启动图像源.启动图像源

In my xcode 11.5, I am not able to see Launch Image Source from path Target->General->App icons and Launch Images-> Launch image source

我已经引用了以下链接,但对我没有帮助.

I have referred following link but it does not help me.

链接

我在info.plist文件中添加了以下两行代码,以提供更大的屏幕支持.

I have added below 2 lines of code into my info.plist file to provide larger screen support.

<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

我的应用程序中有多个目标.因此,每个目标都有不同的启动画面.我该如何实现?

I have multiple targets in my application. So, each target has different splash screen. How can I achieve it?

推荐答案

您可以创建多个启动屏幕Target.storyboard,也可以将相应的启动屏幕故事板添加到File Inspector下的相应目标.您还可以在不同文件夹下为每个目标创建多个Assets.xcassets并添加特定的图像每个目标.并将Assets.xcassets添加到File Inspector下的相应目标.

You can create multiple Launch Screen Target.storyboards and you can add respective Launch Screen storyboard to respective target under File Inspector. Also you can create multiple Assets.xcassets for each target under different folder and add images specific to each target. And add Assets.xcassets to respective target under File Inspector.

这篇关于xcode中的启动图像源未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆