简体   繁体   English

LaunchScreen.storyboard UIImageView问题

[英]LaunchScreen.storyboard UIImageView issue

I have a *.png image with transparent background. 我有一个带有透明背景的* .png图像。 I want to display it on my LaunchScreen. 我想在我的LaunchScreen上显示它。 The thing is that the image is invisible. 问题是图像是不可见的。

故事板上有一个图像,但是在模拟器上不可见。]

If I change background color from white to say black, the whole UIImageView is black and there's no image I need to display. 如果我将背景颜色从白色更改为黑色,则整个UIImageView都是黑色的,没有图像需要显示。

更改图像的背景颜色无济于事。

ImageSet RenderAs setting is set to original image. ImageSet的RenderAs设置被设置为原始图像。

How do I fix the issue? 我该如何解决该问题? Thanks! 谢谢!

我认为问题是由设置为情节提要的淡色的“透明色”引起的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM