I have found black space on top and bottom in device even configure well. I don't think it's quite relevant to launch image. Please let me know how to fix it?

- 13,309
- 42
- 142
- 227
-
Do you have any layout constraints in your IB? – r4id4 Jan 31 '15 at 11:55
-
Are you using a device or the simulator ? – depicus Jan 31 '15 at 11:59
-
@depicus using device. – PPShein Jan 31 '15 at 12:01
4 Answers
Include Default images e.g Default.png,Default-568.png etc for all resolutions.This happens when app cannot find default image.

- 12,219
- 3
- 25
- 34
I had the same issue with iOS 7 devices, adding launch images fixed my issue. ps make sure they are in the correct format: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

- 637
- 6
- 12
Click on "Use asset Catalog" and Migrate for launch image source in target->General->App Icon and Launch Images.

- 576
- 3
- 24
Due to not having Launch image for "Iphone 5" size( Default-568h@2x.png
) Your View pretend it as "Iphone 4" size device.
That's the reason for blank space.
Answer is:
Add launch image Named as Default-568h@2x.png
with 640x1136
size.
Let me knew if you need more help regarding this.

- 1,733
- 2
- 12
- 32