Xcode LaunchScreen image position changes

131

May be you can try this way

  1. set logo bottom constraint.
  2. set logo leading and trailing constraint.
  3. set logo width and height constraint.
Share:
131
atom-22
Author by

atom-22

Updated on December 31, 2022

Comments

  • atom-22
    atom-22 over 1 year

    I'm working on flutter app and trying to add ios LaunchScreen I have very simple LaunchScreen layout. Green background and image bottom center. Image is added to assets.

    UIImageView has width, height, centerX and bottomSpace constraint. That's what I see in XCode.

    Xcode

    On start, launch screen works fine:

    Correct mode

    After 1-2 seconds, launch screen changes layout and image jumps on top.

    incorrect mode

    I've tried:

    • restart xcode
    • clean build folder
    • restart iPhone
    • remove app from iPhone
    • combinations of previous steps.

    What should I change to prevent launch screen layout change?

    • progNewbie
      progNewbie about 2 years
      I got the exact same problem. Did you fix it somehow?