Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode LaunchScreen image position changes

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?

like image 576
atom-22 Avatar asked Dec 31 '25 07:12

atom-22


2 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.
like image 198
Saurav_Sharma Avatar answered Jan 02 '26 20:01

Saurav_Sharma


I had the same issue. This worked for me on xcode launchScreen editor:

Change Vertical space constraints from Top/Bottom Layout Guide to Superview

like image 36
nypogi Avatar answered Jan 02 '26 21:01

nypogi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!