简体   繁体   中英

ImageView not showing on launch screen

I've created two launch screens now trying to get this to work.

The launch screen is simply a company logo in the middle and then a copyright notice at the bottom.

The copyright notice always show up when I launch the app but the logo is never visible.

I have set the constraints on the logo and when I change the dimensions of the xib the logo always stays where I need it.

I have checked the Copy Bundle Resources and both the logo png file and xib are present.

Im at a loss here, any ideas?

View Hierarchy

在此处输入图片说明

Image Constraints

在此处输入图片说明

将图像添加到images.xcassets然后在图像视图中使用该图像解决了问题。

将图像添加到项目文件夹以及 images.xcassets 解决了我的问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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