Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.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, 08:47 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 20
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, 08:50 PM   #2 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,178
Default

First thing to check: make sure the file name is spelled correctly with a capital "D" in "Default.png".
__________________
~~ Word Flurry ~~ App Store / Website / Facebook
Kalimba is offline   Reply With Quote
Old 02-09-2010, 09:15 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 20
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, 10:16 PM   #4 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 70
Default

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

Last edited by firebug; 02-09-2010 at 10:36 PM.
firebug is offline   Reply With Quote
Old 02-09-2010, 10:58 PM   #5 (permalink)
Remya
 
Join Date: Dec 2009
Location: India
Posts: 65
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, 02:08 AM   #6 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 916
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, 08:03 AM   #7 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: Netherlands
Posts: 26
Default

Also put the image in the Resource group.
iphonechilly is offline   Reply With Quote
Old 02-16-2010, 05:53 PM   #8 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 20
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
Old 03-22-2010, 03:26 PM   #9 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 1
Default Clean All Targets

Hi,

I had the same problem.

I selected the device and from the Build menu did a "Clean All Targets".

Build and run and it worked a treat.

Hope this helps.

Simon
SimonC is offline   Reply With Quote
Old 05-19-2010, 06:00 AM   #10 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 3
Default

Agree with the above two...But guys isnt this against Apples's HIG?
swaps_2k1 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



» Advertisements
» Stats
Members: 158,487
Threads: 89,094
Posts: 380,134
Top Poster: BrianSlick (7,091)
Welcome to our newest member, fanarin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:09 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0