How do I change the default image name for the splash/launch image in an iPhone app
I tried adding a Launch image key to myappname-info.plist with the value Test and a Test.png in the Resources folder but it doesn't seem 开发者_如何学Cto work.
Go into your plist file.
Add a new element called "Launch Image"
Then, write "Test.png"
It will then be your splash screen.
I don't think it's possible to change the name of the image. If you're trying to use a different image every time the app gets launched (like some of the built-in apps) it's not possible. If you're trying to use a different image for different versions of your app, you can use Targets.
What's the reason you want to do this?
you need to use a image named Default.png for to display image as a splash
just add the Default.png in Resource folder in your application
精彩评论