0

After running

enter image description here

Before running(in xcode storyboard)

enter image description here

I am getting black screen at the top and bottom layer of the application while running. I don't want that screen. Please help me out. Thanks in advance.

Bhavin Ramani
  • 3,221
  • 5
  • 30
  • 41
aditya
  • 13
  • 7
  • i have uploaded the screenshots. please take a look. – aditya Dec 28 '16 at 06:07
  • Add Launch.Storyboard or splash images in xcasset – Rajat Dec 28 '16 at 06:07
  • Set proper constraint – Nilesh Dec 28 '16 at 06:09
  • Add constraints to your view. – Rikh Dec 28 '16 at 06:11
  • There are two ways: a) If you use a launch screen. You are missing a LaunchScreen.storyboard file. Create a LaunchScreen.storyboard file and add it to your project. b) If you don't use a launch screen. Go to your Target's settings and choose General, then App Icons and Launch Images. Now set "Launch Screen File" to your "main.storyboard" (or another storyboard if appropriate) – aditya Dec 28 '16 at 06:17
  • Thanks Rajat. Thanks Nilesh and Rikh. Your answers solved my question. Thanks a lot again. – aditya Dec 28 '16 at 06:18

0 Answers0