Ipad Only Build

I recently released an app for iPhone (waiting for review) and I released another iphone app months ago so Im familiar with iphone app but for the first time im making an app for iPad only, this being said im a bit confused on the build.settings and Icons which Icons do you need to provide and also do iPad2 uses Retina like iphone4 with display.newImageRect if you want to make the game “sharp”? Any advice is greatly appreciated just want to learn more regarding iPad only builds.

Link: http://developer.anscamobile.com/content/building-devices-iphoneipad#Using_a_pre-rendered_icon_no_gloss

On this Link it shows this set up on build.settings:

Customization

Application Icon

The application icon for iPhone should be a 57 x 57 PNG image file (or 72 x 72 for iPad). It should have the name Icon.png and be located in the assets project folder. For iPhone / iPod touch apps, an additional high-resolution 114 x 114 icon named Icon@2x.png is now also required to support Retina displays.

MyProject/
Icon.png Icon@2x.png Icon-72.png main.lua

But on the Fishies-iPad Sample Code this is the build.settings:
I thought Icon@2x.png was “required for iPhone/iPod” only? Am I missing something?
[lua]-- build.settings

settings =
{
orientation =
{
default = “portrait”,
},

iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
},
},
}
}
[import]uid: 30314 topic_id: 21844 reply_id: 321844[/import]

Hey there,

For iPad only builds you don’t need to include CFBundleIconFiles - the only icon currently used for iPad is 72x72, iPad 2 is not retina :slight_smile:

So just put Icon.png (72x72 size) in your project folder and you’re good to go.

Peach :slight_smile: [import]uid: 52491 topic_id: 21844 reply_id: 86802[/import]

@ Peach

Thanks Peach for clearing things up, one last question I notice a drastic change when using display.newImageRect instead of display.newImage on iPad2 this is why I asked about Retina. Is there a reason for this? [import]uid: 30314 topic_id: 21844 reply_id: 86808[/import]

That’s interesting - what kind of “change” are you talking about? (I assume graphical but I don’t have an iPad2 here to test on.) [import]uid: 52491 topic_id: 21844 reply_id: 86824[/import]

@ Peach

Hey Peach,

Yea the “change” is definitely graphical and its for the best it looks very sharp I posted a thread regarding this topic ill post the link below and once again Thank You very much for your help and responses.

Link: https://developer.anscamobile.com/forum/2012/02/14/ipad-2x-image-support [import]uid: 30314 topic_id: 21844 reply_id: 86849[/import]

Last question I noticed every documentation I read and samples I look they always name the iPad Icon " Icon-72.png" is this for universal build? Im doing an iPad only app so should I name my Icon “Icon-72.png” or “Icon.png” and just size (72x72)? Also for Default.png does ipad uses a “Default.png” or it uses " Default-Landscape.png / Default-LandscapeLeft.png / Default-LandscapeRight.png " My App is Landscape Right and supports both Left/Right

Thanks in advance [import]uid: 30314 topic_id: 21844 reply_id: 87807[/import]

If it isn’t universal than Icon.png sized at 72x72 works fine.

Default.png is also supported, just make it iPad size. (1024x768).

Peach :slight_smile: [import]uid: 52491 topic_id: 21844 reply_id: 87818[/import]

Thanks Peach always so helpful I apologize for the noob questions regarding iPad lol I am much more familiarize with iPhone/iPod and this would be my first time building for iPad. You mind explaining a bit more why only Default.png and not LandscapeLeft/Landscaperight .png? I notice the documentation says it could be rejected if you dont support all orientations

Thanks,
Chris L [import]uid: 30314 topic_id: 21844 reply_id: 87822[/import]

I think Im getting somewhere after reading the documentations over and over lol You dont need a Default-LandscapeLeft and Default-LandscapeRight unless you want “specific” images for those orientations and if you want the same image then you can make a Default-Landscape.png which supports both Landscape Orientation, how am I doing so far? Now my question would be do you need a Default.png and a Default-Landscape.png or just one of the two? My app supports both Landscape Orientation (Left/Right)

Thanks [import]uid: 30314 topic_id: 21844 reply_id: 87836[/import]

Sorry, time difference :wink:

You only need one splash screen in my experience. The app should support landscapeLeft and landscapeRight if it’s landscape (and doesn’t have a good reason for only supporting one) BUT I have only ever used one splash and never had any issues with it.

Peach :slight_smile: [import]uid: 52491 topic_id: 21844 reply_id: 87988[/import]

PS - Don’t worry, noob questions are my favorites. People asking “noob” questions are learning how to do something new for the first time, which is awesome :slight_smile: [import]uid: 52491 topic_id: 21844 reply_id: 87989[/import]

@ peach pellen

Thanks Peach for all your help, Im using Default-Landscape.png as my ONLY launch image I hope I did not have to add a Default.png but if I understood correctly by you I should be fine and On another thread someone said using Default-Landscape.png should be enough.

Once Again Thank You very much for all your help. [import]uid: 30314 topic_id: 21844 reply_id: 88049[/import]