0

I have an issue where the launchscreen of my Swift / iOS app differs when running it on the Simulator for an iPhone 6 and on an actual device itself.

On the simulator all objects are shown and positioned correctly

enter image description here

When running the same app on my iPhone 6 the logo is not shown.

enter image description here

The constraints for the image are not extraordinary;

  • Align center X to superview. Constant=0, Prio=1000, Multiplier=1
  • Align center y to superview. Constant=1, Prio=1000, Multiplier=7/9
  • 1:1 Ratio to Logo.png. Constant=0, Prio=1000, Multiplier=1:1

Source is avalailble on my Github repo https://github.com/petervannes/homecaremonitor

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
pcvnes
  • 927
  • 2
  • 15
  • 41
  • Refer this link http://stackoverflow.com/questions/32579150/uiimageview-missing-images-in-launch-screen-on-device it may help you. – Shangari C May 12 '16 at 06:55

1 Answers1

1

Option 1:

Make sure that the Clears Graphics Context box is unchecked for the UIImageView in the storyboard. Just changing this fixed it for me.May be you try it out.

[enter image description here

Option 2:

Turn if off and then on again. restart the device

Shangari C
  • 792
  • 1
  • 5
  • 17