The Icon and Default Images

 

 

The icon.png image and Default.png are two key image files. Icon.png acts as your appli- cation’s icon, the image used to represent the application on the SpringBoard home screen. Default.png (also known as your “launch image”) provides the splash screen dis- played during application launch.

 

Unlike Default.png, the icon filename is arbitrary. If you’d rather not use “icon.png,” set the CFBundleIconFile key in your Info.plist file to whatever filename you want to use but be aware that this might cause trouble when submitting your application to App Store; iTunes Connects requires the application to use icon.png (or Icon.png) even if the Info.plist specifies another name.This key is not set by default, so be sure to add a value regardless of the art you use.

 

Apple recommends matching Default.png to your application’s background. Many de- velopers use Default.png to launch images for a logo splash or for a “Please wait” message. These go against Apple’s human interface guidelines (launch images should provide visual continuity, not advertising or excuses for delays) but are perfectly understandable uses. Xcode lets you take screenshots of your application in action using its Organizer window (Window > Organizer). It also offers the option to set one of those shots as your Default.png image.

 

 

The official application icon size is 57-by-57 pixels. SpringBoard automatically scales larger art. Provide flat (not glossy) art with squared corners. SpringBoard smoothes and rounds those corners and adds an automatic gloss and shine effect. If for some compelling reason you need to use prerendered art, set UIPrerenderedIcon to <true/> in your Info.plist file.

 

As with all on/off Info.plist items, make sure to set the value for UIPrerenderedIcon to the Boolean value true (<true/>, the checked box in the Xcode GUI). Using a string for “true” (<string>true</string>) may work on the simulator while producing no ef- fect on the iPhone.Also remember that the 3.0 Xcode property list editor hides the actual key name. Add a field for the “Icon already includes gloss and bevel effects” key and check the box that appears in the value column.

When submitting your application to App Store, you need to create a high-resolution (512-by-512 pixel) version of your icon.Although you can up sample your 57-by-57 icon.png art, it won’t look good. Going the other way allows you to maintain high-quality art that you can compress to your icon as needed. Keep your art simple and compressible. An icon that looks stunning at 512x512 looks muddled and sloppy at 57x57 when overly detailed.

 

 

 

Note

You may include a 29-by-29 pixel image called Icon-settings.png in your project. This image represents your application in the Settings application. Most developers skip this option. If not included, Settings simply scales your icon.png image.

 

 

 

But now , 29-by-29, 57-by-57, 114-by-114(iPhone Retina) ; 50-by-50, 72-by-72, 144-by-144(iPad Retina)

the all pixels are work for retina

 

 

你可能感兴趣的:(image)