4

iOS 7 app doesn't fill the whole screen in Xcode 6 simulator. But when i set the app to target iOS 8, it works fine. Here are two screen captures:

This is for iOS 7

enter image description here

This is for iOS 8

enter image description here

Can someone help me?

Sujay
  • 2,510
  • 2
  • 27
  • 47
Yinan Fang
  • 265
  • 4
  • 11
  • 4
    You're missing a 4" launch image. See this answer: http://stackoverflow.com/questions/25929565/ios-application-doesnt-fill-iphone-screen/25929645#25929645 – liamnichols Sep 26 '14 at 15:54
  • 2
    It looks like your app is running in the 3.5" mode on the 4" screen. – Oxcug Sep 26 '14 at 16:01

1 Answers1

0

You can try these solutions:

  1. Try to create launch images(640*960 @2x.png & 640*1136 -568h@2x.png) and set them into project properties for "Launche images source".

or

  1. Create .xib file with active autolayout and set this file as "launch screen file".
Vlad
  • 3,465
  • 1
  • 31
  • 24