Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / iOS Launch Images

Author
Message
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 20:23
if I change the launch image for iPad landscape in xcode using the ios interpreter project to create a standalone app, then when installing the same app on iPod, it changes the app icon to a cutoff version of the launch image, however the icon on iPad is unaffected.

Has anyone else run across this and/or knows a fix for it?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 20:36
This is a resolution issue.
The iPad and iPod/iPhone have two different resolutions.

My launch image was created for iPod/iPhone and it gets cut off for the iPad.

The only fix is to have a separate Xcode project for iPad and iPod/iPhone and separate resolution graphics.

This link will show you the icon/launch sizes used for the different devices (you need to have an Apple developer account and be logged in, usually by having Xcode open):
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 20:59
Quote: "This is a resolution issue.
The iPad and iPod/iPhone have two different resolutions.

My launch image was created for iPod/iPhone and it gets cut off for the iPad."


I don't mean that it cuts off my launch image. I mean that for the actual app icon that is displayed on the main screen for iPod, instead of using the app icon, it uses a cutoff version of the launch image(completely wrong image for it).

This only happens if I change the launch image for landscape on iPad on the summary page in xcode.

if I only use the Default.png assigned to the iPhone/iPod section, it uses it for both iPod and iPad(fuzzy on iPad) but the application icon is unaffected on iPod.

This sounds confusing when I read it back to myself, I hope I got the point across
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 21:03
When you look at the Summary page for the Target in your project, does it show the correct App Icons for iPhone/iPod Deployment and for iPad Deployment?

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 21:28
Quote: "When you look at the Summary page for the Target in your project, does it show the correct App Icons for iPhone/iPod Deployment and for iPad Deployment?
"


Ya they show up as correct. The other odd thing is that the app icon is only affected on the iPod touch and not on the iPad.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 21:54
The two devices have different deployment setups. As is evidenced by the two different sections.

Do you have either of the Prerendered check boxes checked?

And, do you have four icons? This is the set you should have (case sensitive names):
1. icon.png - 57x57
2. Icon-72.png - 72x72
3. Icon-114.png - 114x114
4. Icon-144.png - 144x144

The first is all lower case. The others start with a capital I.

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 22:14
No the prerendered boxes are not checked, and im only using icon and icon-72.

The icon's display fine until I change the landscape launch image for iPad, and then it only messes up the iPod icon.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 22:31
Can you post the landscape image that works and the one that doesn't?

This may be a dumb question. But did you remember to add the new image to the Resources (and put it in the media subdirectory)?

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 22:43 Edited at: 19th Jun 2012 22:46
There is no landscape image that works.....

When none is specified, it uses the default.png as the launch image automatically.

Specifying the launch image is what causes the problem, though I'm not sure why.

I've attached a copy of my iPad landscape launch image.

EDIT: There is no problem with the display of the launch images at any time, the only problem is that the application icon on iPod only, starts using a cutoff version of the launch image, instead of it's icon image.

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 23:17
It sounds like your Xcode project is somehow hammering the icon memory space (or something like that).

Do you have both Default.png and Default-landscape.png?

In order to fake out the user and make sure they rotate their device the way I want, my Default.png is actually the landscape version rotated 90 degrees.

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 19th Jun 2012 23:27
Quote: "Do you have both Default.png and Default-landscape.png?

In order to fake out the user and make sure they rotate their device the way I want, my Default.png is actually the landscape version rotated 90 degrees.
"


I only have Default.png and it's rotated 90 degrees same as yours

The moment I try to change the launch image for iPad, it screws up the app icon for iPod....

What I'm thinking of going with at the moment, since it's working is...

Using a retina display resolution image for Default.png, which will display perfectly on iPod and iPhone. When displaying on iPad, it retains it's sharpness due to the retina resolution, but the bottom(lefthand side since its rotated 90 degrees) will be cut off due to the difference in aspect ratio.

I've tried this and it still looks great with my launch image on iPad. If you didn't know the original image wasn't slightly off center you would think it was created that way.

The only question is, would there be any reason Apple would reject the app if it uses a retina resolution image as the default.png. The warning only says that 320x480 is (recommended) not mandatory?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jun 2012 23:50
I don't think Apple will reject it.

On the link I gave you, they don't express a preference for either 'normal' or 'high' resolution.

In fact, given that all the newer iPhones and iPod Touches are all using the higher resolution, I'd only go with that one.

My graphics are geared towards 960x640. When it starts up on my iPad, the right side (for my orientation) is a bit truncated. But once the process actually starts, the full 960x640 is displayed. There is a black space above and below.

I might consider doing separate projects with graphics specific to each, if I find the time after I get the initial app launched.

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 20th Jun 2012 00:19
My graphics are geared toward 960x640 as well.

However for iPod touch I decided to go with graphics geared more toward 480x320 since the touch only has 256mb of system ram vs the 512 in iPad and iPhone.

I used GetDeviceName() and then checked to see if the first characters returned were equal to ios|iPod and if so, load the lower resolution images at startup.

Quote: "My graphics are geared towards 960x640. When it starts up on my iPad, the right side (for my orientation) is a bit truncated. But once the process actually starts, the full 960x640 is displayed. There is a black space above and below."


I'm using the percentage system with an aspect ratio of 1.5 which is native to iPhone/iPod, but I get slight black space above and below same as you for iPad, though it's really not noticable.

As for truncation, I don't have any, not sure why you do as 960x640 easily fits within the 1024x768 resolution of the iPad.

Thanks for helping me with the troubleshooting
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 20th Jun 2012 00:23
Good luck with it all.

Happy Programming!

Cheers,
Ancient Lady
Marl
13
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 20th Jun 2012 00:49
Quote: "It sounds like your Xcode project is somehow hammering the icon memory space"

You just had to didn't you.

This hammer thing is gonna' get old very fast
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 20th Jun 2012 16:06
It wasn't on purpose. Really it wasn't. I'm still new to the 'job' and haven't yet associated myself with a hammer. Honestly, it was just the first word that popped into my head as I was typing.

Cheers,
Ancient Lady
Grumpy Jedi
14
Years of Service
User Offline
Joined: 16th Jan 2010
Location:
Posted: 24th Jun 2012 23:45
I wanted to update this thread since I found the cause and solution in case anyone else runs across the problem building their app.

When adding launch images to the summary page of your project in xcode, for some reason it automatically adds the file name to the icons subsection of the info-plist page. It adds the file name in 2 places, once under a subheading named icons and another time under a subsection named something to the effect of iOS 5.0 icons (sorry I don't have the mac running with the project open right now, but it's not hard to find).

What I did to solve the problem was after adding the new launch images to the summary page, I simply removed the erroneous icon file names from the info page in both of the places where it was added. Once this was done it no longer changed my icon for the iPod/iPhone part of my project when running it for testing.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 24th Jun 2012 23:49
Thank you for sharing the solution.

I'm sure you are not the only one who will have experienced this problem.

Cheers,
Ancient Lady

Login to post a reply

Server time is: 2024-11-23 17:00:47
Your offset time is: 2024-11-23 17:00:47