Deekor
Deekor

Reputation: 9499

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

enter image description here

Image Constraints

enter image description here

Upvotes: 2

Views: 1928

Answers (2)

Pankaj Jangid
Pankaj Jangid

Reputation: 832

Add images into project folder as well as images.xcassets solved my issue

Upvotes: 0

Deekor
Deekor

Reputation: 9499

Adding the image to images.xcassets and then using that image in the image view solved the problem.

Upvotes: 1

Related Questions