I've created a new project in XCode 4.5 and added 3 launch images for each requiered resolution. XCode created automatically 3 files: Default.png, [email protected] and [email protected]
Now I get a warning demanding to create a "[email protected]" (no "Default" word) and offering to add the file for me. If I click "Add" it does create an empty image (black rectangle) named "[email protected]". If I don't add it, my splash screen in the run time is incorrect (it takes the app icon and stretches it to the while screen)
So I've decided to let it be and copied the [email protected] into [email protected], it did resolve the splash screen and the warning, but now I have trouble with gitHub, since it can't work with files that start the dash "-".
Any ideas? Where did I "lose" the "Default" prefix???
In your info.plist
, see if you have the key UILaunchImageFile~iphone
. I bet its value is empty. That key is what Xcode uses to to get the file names of the launch images. That's where you replace "Default" with "MyAwesomeLaunchImage", so your images are named [email protected]
, etc..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With