Dvole
Dvole

Reputation: 5795

How to force launch images instead of launch screen on iOS 8?

How do I disable launch screen for my app for iOS 8?

I want to have old-fashioned images for that.

If that is not possible, how do I setup my LaunchScreen.xib to show correct image based on device?

Upvotes: 9

Views: 6115

Answers (4)

Tung Fam
Tung Fam

Reputation: 8167

In addition to other answers also make sure you deleted the app from simulator/device after the changes you've made.

Upvotes: 3

user5317187
user5317187

Reputation: 11

Also fill the "Asset Catalog Launch Image Set Name" in your target's Settings with the name of the LaunchImage you created in your Image Assets. The field is blank when the project is created with a default LauchScreen.

Upvotes: 1

Calvin Cheng
Calvin Cheng

Reputation: 36554

Just delete LaunchScreen.xib if you want to use images. Under Images.xcassets, you will be able to assign your static images when you create LaunchImage just like how it used to be.

And yes, delete the value in Launch Screen File selector in your target's settings.

Upvotes: 12

Dvole
Dvole

Reputation: 5795

I found a way. Delete the LaunchScreen.xib. Then go to General tab in your target and delete the line in Launch Screen File selector.

It does not let you confirm empty screen, but you can overcome this by selecting any source file in Project navigator after you emptied the line.

Upvotes: 2

Related Questions