[英]UIImageView in storyboard doesn't show image at start
I am writing an iOS app and I am using storyboards. 我正在编写一个iOS应用,并且正在使用情节提要。 In some screen I have an UIImageView for a banner.
在某些屏幕上,我有一个UIImageView的横幅。 I set the image to the UIImageView in the menu in storyboard.
我将图像设置为故事板菜单中的UIImageView。 (Not code behind) But the Image isn't shown after the screen is loaded.
(后面没有代码)但在加载屏幕后未显示图片。 After a while the image appears.
片刻后出现图像。 Why is the image loaded so late?
为什么图像加载这么晚? On other screen everything is ok.
在其他屏幕上,一切正常。
best regards 最好的祝福
我认为,您应该在文件LaunchScreen.xib中设置横幅的背景图像。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.