1

I'm using a UICollectionView and SizeClasse. When I build and run the code on a 4-inch device, there is some black space at the bottom and at the top over the status bar. If I use the Xcode Storyboard Preview, it looks okay. I have the same problem in the simulator.

Can anyone help me please?

Thank you for your answer.

screenshot

BigStorm
  • 30
  • 7
  • 1
    Could you add a screenshot(s)? – Gordonium Mar 03 '16 at 20:35
  • 1
    In the storyboard or xib click on document inspector and turn on auto layout and size classes and add a launch screen xib – beyowulf Mar 03 '16 at 20:45
  • Possible duplicate of [Black bars on launch screen on iPhone5 (and iPhone6)](http://stackoverflow.com/questions/25796280/black-bars-on-launch-screen-on-iphone5-and-iphone6) – Vasanth Mar 03 '16 at 21:07

1 Answers1

1

You need to provide LaunchImages for all device sizes.

Yunus Eren Güzel
  • 3,018
  • 11
  • 36
  • 63