iPhone icon and initial screen images
All iPhone applications have icons which appear in the user interface of the iTunes application and on the iPhone. iPhone application iconsYou define the following icons for an iPhone application:
In Flash Professional CS5, add these icons in Icons tab of the the iPhone Settings dialog box. See Setting iPhone application properties in Flash Professional CS5. You can also add the locations of the icons to the application descriptor file: <icon> <image29x29>icons/icon29.png</image29x29> <image57x57>icons/icon57.png</image57x57> <image72x72>icons/icon72.png</image72x72> <image512x512>icons/icon512.png</image512x512> </icon> The iPhone adds a glare effect to the icon. You do not need to include it in your source image. To remove this default glare effect, add the following to the InfoAdditions element in the application descriptor file: <InfoAdditions> <![CDATA[ <key>UIPrerenderedIcon</key> <true/> ]]> </InfoAdditions> See Setting iPhone application properties in the application descriptor file. The initial screen art (Default.png)All iPhone applications display an initial image while the application loads on the iPhone. You define the initial image in a PNG file named Default.png. In the main development directory, create a PNG file named Default.png. (Do not put this file in a subdirectory. Be sure to name the file Default.png, with an uppercase D.) The Default.png file is 320 pixels wide by 480 pixels tall, regardless of the initial orientation of the application or whether it is full-screen or not. If the initial orientation of your application is landscape, use the same dimensions that a portrait application uses: 320 pixels wide by 480 pixels high. However, rotate the artwork 90° counter-clockwise in the PNG file. The left side of the PNG art corresponds to the top of the iPhone screen in landscape mode. (For information on setting the initial application orientation, see iPhone application settings.) For an application that is not full-screen, the top 20 pixels of the default image art are ignored. The iPhone displays its status bar over the 20 pixel-wide rectangle at the top of the default image. In a landscape-orientation application, this region corresponds to the left 20 pixel-wide rectangle of the Default.png file (which displays on the top in landscape mode). In a portait-orientation application, this region is the top 20 pixel-wide rectangle of the Default.png file. For most applications, the Default.png image should match the startup screen of the application. To take a screenshot of the startup screen of your application:
Note: You can create any art you’d like for the Default.png file, as long as it is the correct dimensions. However, it is often best to have the Default.png image match the initial state of your application.
Do not include text in the Default.png image if your application is localized into multiple languages. The Default.png is static, and the text would not match other languages. In Flash Professional CS5, be sure to add the Default.png file to the Included Files list in the iPhone settings dialog box. See Setting iPhone application properties in Flash Professional CS5. When compiling using the PFI application on the command line, be sure to reference this file in the list of included assets. See Creating an iPhone application installer file from the command line. |