iOS
For iOS, you must create a series of app icons for the iOS devices you plan to support. Apple recommends that you also create a set of small icons for spotlight search results andsettings. All icons should adhere to the standard iOS names and sizes listed below. Note that each icon has a definition for "normal" plus a Retina version appended with
@2x. For detailed information on creating icons, please refer to the iOS Human Interface Guidelines.| File | Size (w×h) | Purpose |
|---|---|---|
Icon.png | 57 × 57 | Icon — iPhone |
Icon@2x.png | 114 × 114 | Icon — Retina iPhone |
Icon-72.png | 72 × 72 | Icon — iPad |
Icon-72@2x.png | 144 × 144 | Icon — Retina iPad |
Icon-Small-50.png | 50 × 50 | Search — iPad |
Icon-Small-50@2x.png | 100 × 100 | Search — Retina iPad |
Icon-Small.png | 29 × 29 | Search — iPhone / Settings — iPhone+iPad |
Icon-Small@2x.png | 58 × 58 | Search — Retina iPhone / Settings — Retina iPhone+iPad |
These files should be included in the project's base directory. Additionally, you must specify them in the
CFBundleIconFiles table.settings =
{
iphone =
{
plist =
{
CFBundleIconFiles = {
"Icon.png",
"Icon@2x.png",
"Icon-72.png",
"Icon-72@2x.png",
"Icon-Small-50.png",
"Icon-Small-50@2x.png",
"Icon-Small.png",
"Icon-Small@2x.png",
},
}
},
}
Android
For Android, icon files will be copied into the .apk during the build, if they are available in your project folder. These icons should adhere to the standard Android icon names and sizes listed below. For detailed information on creating icons, please refer to the Android Icon Design Guidelines.
| File | Size (w×h) |
|---|---|
Icon-xhdpi.png | 96 × 96 |
Icon-hdpi.png | 72 × 72 |
Icon-mdpi.png | 48 × 48 |
Icon-ldpi.png | 36 × 36 |
No comments:
Post a Comment