Xcode LaunchScreen image position changes

Viewed 186

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?

1 Answers

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.
Related