Aarti Oza
Aarti Oza

Reputation: 1154

Black Screen with iOS 9

I had developed Application in Xcode 6.2, and now I am running this app in Xcode 7.0.1 and this giving me this type of output.

How to make the the application which is compatible on all device including iPhone 6S and iPhone 6S Plus with iOS 9.

How to solve this issue ?

enter image description here

Upvotes: 2

Views: 782

Answers (3)

Dharani
Dharani

Reputation: 88

You had developed your project in Xcode 6.2, So in your project there is no such file LaunchScreen.Storyboard.

Targets -> General -> Launch Screen File -> Choose your -> Main.Storyboard

Now, run the project.

chanange

Upvotes: 1

ConfusedDeer
ConfusedDeer

Reputation: 3415

I had the same issue and was resolved by adding a launch screen. If you already have a launch screen see this answer.

If you don't already have a launch screen, I believe Apple recommends that you should have one and here are Apple's step-by-step instructions on how to add one:

Adding an iOS App Icon Set or Launch Image Set

Organize different resolutions of your app icons and launch images using image sets.

Select an asset catalog.

Choose Editor > Add Assets > App Icons & Launch Images > New iOS App Icon.

enter image description here

An empty app icon set is created, with an image well for each image representation in the set.

Drag an app icon from the Finder to the appropriate image well in the set viewer. enter image description here

Alternatively, you can add app icons by selecting an asset catalog, and then choosing Editor > Add Assets > Import.

To add a launch image set, choose Editor > Add Assets > App Icons & Launch Images > New Launch Image and follow the steps described above, substituting launch images for app icons. Instead of a set of launch images, if your app targets at least iOS 8 you can use one launch screen file. This is a xib file that can adapt to any screen size or orientation. For more information, see Creating a Launch Screen File.

Upvotes: 1

Uma Madhavi
Uma Madhavi

Reputation: 4917

In Xcode 7 there were changes in launch screen so you need to update in launch screen.storyboard. Otherwise change deployment target .

Upvotes: 3

Related Questions