2

Initially the app was developed for iPhone 5. Later there was a problem with iPhone 6, 6+, scale was low. The solution was to set launch image as it is shown on the screenshot.

enter image description here

The names and sizes:

Default-568h@2x.png - 640x1136

Default@2x.png - 640x960

But when you use iPhone X, black lines appear at the top and the bottom. If launch image 1125x2436 is done specially for iPhone X, black lines disappear, but scale is low. Is it possible to make the same scale for iPhone X?

Artem Z.
  • 1,243
  • 2
  • 14
  • 36
  • 1
    Use launchScreen.storyboard instead of images. One layout for all iPhones. Easy. – Andrey Oshev Dec 25 '17 at 08:29
  • @AndreyOshev it sets low scale by the way :( – Artem Z. Dec 25 '17 at 08:53
  • @AndreyOshev can you explain me how to achieve this? Thanks in advance – Artem Z. Dec 25 '17 at 20:03
  • Открываешь сториборд, если просто черный экран, то просто меняешь фон и вместо лаунизображения используешь этот сторибор. Будет все нативно без ресайза. Красиво. – Andrey Oshev Dec 26 '17 at 10:45
  • @AndreyOshev получается разный скейл на 5, 6, Х айфонах. А смысл в том, чтобы было все крупно везде как на 5 айфоне – Artem Z. Dec 26 '17 at 11:42
  • Ну так тогда просто правильно констрейнты раскидай и будет везде большое. – Andrey Oshev Dec 26 '17 at 13:18
  • @AndreyOshev вот хоть убей не могу понять как сделать. Вообще не понимаю причину такого поведения launchimage & launchscreen. Если можешь распиши пожалуйста конкретнее. Если не затруднит конечно – Artem Z. Dec 26 '17 at 16:43
  • t.me/andrey_oshev – Andrey Oshev Dec 26 '17 at 20:34
  • @AndreyOshev I have an same issue and i am using launch images. if i will use launch screen storyboard than these black lines are disappear in iPhone X..? And i am not using constraints as well. – Mohit Mar 07 '18 at 11:10

0 Answers0