IOS Some images do not appear on the startup screen.

Hi, we have a very unpleasant moment with launch screens (note: DO NOT launch images).

The problem we are facing is that some images appear on the launch screen, while others do not.

Images are contained in UIImageView and have some really simple contrasts.


Here are a few screenshots to help you understand what we mean:

First pic - Very simple avatar image (single color, RBG, Alpha channel) WORKS First pic - Very simple avatar image (single color, RBG, Alpha channel) WORKS

The second pic is a really simple logo image (one or more colors, RBG, Alpha channel) DOES NOT WORK The second pic is a really simple logo image (one or several colors, RBG, Alpha channel) DOES NOT WORK

Third pic - The appearance of the interface of the second image. (What do we want) Third pic is the interface builder of what we want


Has anyone come across the same behavior, or am I missing something fundamental?

: , , , ?!?

, .

, , .

, XCAssets.

!

+4
3

, , . , , 1. 2. . . , iOS 9.2

+12

save the image file in the project navigator instead of XCAssets. This fixes my problem.

0
source

Source: https://habr.com/ru/post/1627282/


All Articles