launch screen xib not displaying imageview correctly

Brosef picture Brosef · Dec 16, 2014 · Viewed 8k times · Source

I'm using a launch screen xib and I can't get the image within the UIImageView to appear. Currently, I have a UILabel with the imageView placed right below the label and also centered horizontally. I set all the constraints for the imageView but for some reason the label appears but the image doesn't. This is my first time using the whole wAny hAny size classes. Is there something I'm missing?

enter image description here

enter image description here

Answer

phatmann picture phatmann · May 10, 2015

Based on my recent experience, it appears that as of iOS 8.3, any images in the launch screen XIB have to be in the image assets. I do not know if this is the OP's problem or not, but definitely worth mentioning for other folks coming here with the same issue.