I had been fooling around with an initial splash screen but decided not to use it. But now, although I deleted Default.png from Resources, the splash screen still appears in the Simulator when I start the app.
Default.png isn't in the project folder, I close and reopen Xcode, splash screen still there. Close and reopen Simulator, splash screen still there. I remove the app from the Simulator, build, and the splash screen is still there.
Any ideas?
Try "Clean All Targets" before rebuilding
Related
I have a problem with a custom splash screen. This is an iphone-only app (meaning it's targeting only iphone in the tiapp.xml), running in the iPad simulator sdk 3.3.0, ios7.1 and Alloy.
The app should run in compatibility mode, the problem is that even though I have all resources inside my assets/ folder, the standard Appcelerator's splash screen briefly appears before the simulator switches to my custom one.
here's the folder structure:
And here's the sequence of images when the app is loaded:
From the last pic, We can still see the appcelerator's icon, so I'm guessing Titanium is loading my custom image on top of the standard one?
Could this be a bug? I figured if Titanium CAN find my img, then it isn't a problem on my end?
The weirdest thing is that I've looked in all folders for this default Appcelerator picture and couldn't find it. I've also tried a clean build & manually deleting the build and Resources generated folders.
Thanks for all the help, this is driving me nuts!
I got this to work after manually deleting the app from the Simulator's system before running the project.
I'm not sure why, but it seems that the simulator somehow 'caches' the last img, and maybe it had this old img of my splash.
On the simulator, all is Ok, when i make an ipa and install it on the device and then try to run the application, i got a black screen, even the splash screen is not shown. Does any one ran into the same issue?
I will add localization to the splash image from my app.
I created the images and put them in the correct folder, but when I launch the application "updating" my app in the simulator it still shows the old image.
I tried to cleand and build with no results.
If I delete my app and istall it again, it works fine!
I did a test in 2 iphones from my company and in both I got the same behavior, I have to delete and install the app to update the images.
My question is: This will happen when I update the app on the apple store? The users will continue to see the old splash image?
Your users shouldn't see the old image when updating from the app store. From what I have seen and heard from others, the install process in the simulator from Xcode is more of a copy/paste action than and update/install action. As long as a clean run works fine, it should be safe to assume that your app store version will work fine as well.
One Suggestion.. if you just want to show SPLASH PNG image then just use default.png name of the splash image in you Resource folder... Don't code anything for splash png image...
iPhone will automatically detect this default.png as a splash image..
I am trying to display Default.png image when application starts. So user wont have to see that black screen. But the problem is its working fine on simulator but on device its not being loaded and black screen is being shown before app loads.
What could be problem?
Any help would be appreciated.
first delete your app from the device.
then when your app open on the xcode press on the upper bar product -> clean
make sure the image are name "Default.png"
run on your device! :)
Does it not show the Default.png at all, or just after a short period of time ?
Not at all: Try setting a new Default.png in the Organizer
After short time: When hitting build and run your app needs some time to start up, because the debugger is linking itself to your app, this causes a delay of a couple of seconds where your default.png is not displayed.
i have a application i put Default.png for splash screen according to apple's documentation.the splash screen is displaying fine.but when i delete the Default.png and references of png.it does not removed it is still showing the splash screen.i am running the program in simulator.?
Simple solution:
Stop any iPhone Simulation
In XCode click Build -> Clear in the menu bar
Uncheck both boxes and click "clean"
Rebuild your application.