Vergmort
Vergmort

Reputation: 399

Splash "Default.png" on launch image for 2 differents targets in iphone app

I have 2 versions of my app, and I can't specify launch image for the lite because when I put the image of the full version it suddenly changes my lite image.

An alert appear and tells me if I want to replace 'Default.png':

    but the launch image must have the name "Default.png".
The file will be copied and added to your project as "Default.png". 
Do you want to continue?

can someone help me?

Upvotes: 2

Views: 239

Answers (2)

CodeSmile
CodeSmile

Reputation: 64478

An app can only have one Default.png. There's no way to programmatically or otherwise conditionally show different Default.png during launch of the same app.

Upvotes: 4

Rob Segal
Rob Segal

Reputation: 7625

If I'm following you correctly you could create a Default.png that is entirely black and then display a png once Cocos2D initializes that will vary to whatever restrictions you choose. I wouldn't recommend this as good practice and Apple certainly may reject an app/game submitted with a completely black Default.png but maybe not. I've never tried something like that.

Upvotes: 3

Related Questions