Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2010, 07:47 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 18
Default splash screen: "Default.png" displays on simulator but not device

Hi there,

I've placed Default.png in my resources group. When I run the simulator it is displayed as expected, however when I install my application to the iPhone, no splash screen is displayed.

I have cleaned my build.

Does anyone know what the course/solution to this problem is?

Thanks!
tristan.axle is offline   Reply With Quote
Old 02-09-2010, 07:50 PM   #2 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: ¿La Islas Hermosas?
Posts: 1,429
Default

First thing to check: make sure the file name is spelled correctly with a capital "D" in "Default.png".
__________________
piña para la niña interactive
Kalimba is offline   Reply With Quote
Old 02-09-2010, 08:15 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 18
Default

Quote:
Originally Posted by Kalimba View Post
First thing to check: make sure the file name is spelled correctly with a capital "D" in "Default.png".
Yup, it sure is. I think I've got the basic idea right, because it displays in the simulator. I'm not sure why it doesn't display on my iPhone though. Something wrong with the project?
tristan.axle is offline   Reply With Quote
Old 02-09-2010, 09:16 PM   #4 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 42
Default

did you try cleaning the build in both the simulator and on the device

Last edited by firebug; 02-09-2010 at 09:36 PM.
firebug is offline   Reply With Quote
Old 02-09-2010, 09:58 PM   #5 (permalink)
Remya
 
Join Date: Dec 2009
Location: India
Posts: 35
Default

Quote:
Originally Posted by firebug View Post
did you try cleaning the build in both the simulator and on the device

1) Make sure the file name is Default.png
2)make sure the file is copied in the application

3)
- (void)applicationDidFinishLaunchingUIApplication *)application {
sleep(3);/// write this
// Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
}
rainmobile is offline   Reply With Quote
Old 02-10-2010, 01:08 AM   #6 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 343
Default

Make sure the file is actually a PNG file, this issue has come up with other users and it was because the file was actually a JPEG, they just renamed the extension to .PNG. The simulator doesn't care and will display the JPEG, but the iPhone will not.
lukeca is offline   Reply With Quote
Old 02-10-2010, 07:03 AM   #7 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 7
Default

Also put the image in the Resource group.
iphonechilly is offline   Reply With Quote
Old 02-16-2010, 04:53 PM   #8 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 18
Default

For anyone who digs this thread up from a search: I accidently solved the problem when I changed the project name under the build configuration.
tristan.axle is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 326
23 members and 303 guests
cakeisalie, dbonates, dennisdeo, Ed99, gullyben, Hololont, iBud, irishkiwi, JasonR, lepetitapps, muteon, OpenDoorApps, pengcognito, phuongth, RamSundar, rendezvouscp, robmonty, saidev, sfeast, shuvo1879, tpearce, vertine
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,327
Threads: 39,123
Posts: 171,541
Top Poster: smasher (2,577)
Welcome to our newest member, tpearce
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:22 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0