splash screen / Default image for corona sdk
To enhance the user experience, you must provide at least one launch image (splash screen) to display when the app starts. It will appear until the app is fully ready to use, then your first screen/scene will appear and replace the launch image.
These images should adhere to the standard names and sizes listed below. Similar to icon files, these image files should be included in the project's base directory. However, you donot need to specify them in the
plist table or in the android table.| File | Size (w×h) | iPhone/iPod | iPad | Android |
|---|---|---|---|---|
Default.png | 320 × 480 | ✓ | ✓ | |
Default@2x.png | 640 × 960 | ✓ | ✓ | |
Default-568h@2x.png | 640 × 1136 | ✓ | ||
Default-Portrait.png | 768 × 1004 | ✓ | ✓ | |
Default-Portrait@2x.png | 1536 × 2008 | ✓ | ||
Default-Landscape.png | 1024 × 748 | ✓ | ✓ | |
Default-Landscape@2x.png | 2048 × 1496 | ✓ |
Important
- If you're developing an app for iPhone5 compatibility, you might be tempted to wait until the project is complete to create these launch images. However, you must at least include the
Default-568h@2x.pngfile from the start, even if it's a blank image for testing. This activates the iPhone5 "tall" mode. As indicated above, this image must be exactly 640×1136 in size — do not flip it to 1136×640 for a landscape app. - On Android, if the width or height of the display is greater than 480 pixels, the larger image file(s) will be used.
- Android displays all launch images in letterbox format, regardless of the scale setting in
config.lua.
No comments:
Post a Comment