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.