i have added a splash screen to my application by adding Default.png. the splash screen works fine in the simulator but not showing on real device
Check the case of the file name.
Default.png, default.png, Default.PNG and DEFAULT.png are all different files on the device, but not in the simulator.
The file name must be Default.png (with a capital D). Also, do a clean/rebuild of the entire project to ensure the most recent version of the file is being included in the project.
Make a "Default.png" file (with a capital "D"). Then clean all targets and build again.
Sometimes this issue hapens, when .png file was renamed from .jpg file. So, for example, you had image.jpg, you've renamed in to image.png, and using this image.png. It'll be correctly displayed in simulator, and won't work on device
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