Question

I have set my app icons and launch images in Xcode in Project > Target > 'App Icons' And 'Launch Images'

The icons and screens are of the correct dimensions and I set them without using the asset catalog.

I have two problems:

  1. If I set default Default-568h@2x.png and Default@2x.png launch images, Xcode builds my project for an iPhone 3.5 inch screen which puts the black strips at the top and bottom of my app on my iPhone 5.

  2. The icons do not work at all.

I am using xcode 5.1.1 and have never had this issue before despite doing the 1 million times. Does anyone if this a bug or if there is a workaround ? Or must I sacrifice a small animal to the Apple gods in order to get this to work... If so please let me know which animal.

Thanks.

Was it helpful?

Solution

1) you have to set all the image according to size of it

2) Press Use Asset catolog button just upper

3) it will ask you do you want to migrate icon or not you have to press migrate its done

Hope it will work.

OTHER TIPS

Check if your images attached to the target:

Image settings

I've tried to remove mark from checkbox for Default-568h@2x.png image target settings and saw black strips at the top and bottom after launching on device with 4" screen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top