Search code examples
iosswiftios7ios-simulatorsize-classes

iOS 7.1 Simulator weird behaviour


I am having project written on Swift, storyboads are using Auto-Layout and Size Classes. Everything works great on iOS 8, but when I run it on iOS 7:

iOS 7.1 iphone 5s simulator picture:

https://www.dropbox.com/s/rv2cg9z014nf8r8/iOS%20Simulator%20Screen%20Shot%20Apr%2017%2C%202015%2C%203.09.18%20PM.png?dl=0

2 main bugs: height and font. Talking about font - it is chosen as main system font.

UPDATE:

I created new project from scratch, set deployment target to iOS 7, turned off AutoLayout and Size Classes and still I have the same problem:

https://www.dropbox.com/s/sxp5aia6ihc7nvc/iOS%20Simulator%20Screen%20Shot%20Apr%2020%2C%202015%2C%201.00.47%20PM.png?dl=0

What do you think it can be?


Solution

  • if you are supporting iOS < 8, you need to do this:

    General / App Icons and Launch Images Launch Image Source - select LaunchImage for asset catalog. Add a 640x1136 image for the "Retina 4" option.