MobileIcons.framework
From iPhone Development Wiki
| MobileIcons.framework | |
| Private Framework | |
|---|---|
| Availabile | 3.2 – present |
| Class Prefix | LI |
MobileIcons is a C framework that themes CoreGraphics images by icon styles.
Usage
CGImageRef image = ...; // obtain the source image CGImageRef themedImage = LICreateIconForImage(image, /* variant */ 2, /* precomposed */ 0);
Variants
As of 4.3, MobileIcons support 27 variants (styles).
| Variant | Input size | Output size | Default input image | Description |
|---|---|---|---|---|
| 0 | 57×57 | 59×(60+s) | DefaultAppIcon.png | The large icon in home screen (iPhone) |
| 1 | 72×72 | 74×(76+s) | DefaultAppIcon-72.png | The large icon in home screen (iPad) |
| 2 | 29×29 | DefaultSmallAppIcon.png | ||
| 3 | 50×50 | DefaultSmallAppIcon-72.png | ||
| 4 | 29×29 | DefaultSmallAppIcon.png | ||
| 5 | 44×59 | 64×64 | ||
| 6 | 220×295 | 320×320 | ||
| 7 | 72×72 | 64×64 | DefaultAppIcon.png | |
| 8 | 72×72 | 320×320 | DefaultAppIcon.png | |
| 9 | 14×14 | 16×16 | DefaultAppIcon.png | |
| 10 | 15×15 | 32×32 | DefaultAppIcon.png | |
| 11 | 30×3 | 48×48 | DefaultAppIcon.png | |
| 12 | 61×61 | 128×128 | DefaultAppIcon.png | |
| 13 | 122×122 | 256×256 | DefaultAppIcon.png | |
| 14 | 243×243 | 512×512 | DefaultAppIcon.png | |
| 15 | 114×114 | 118×(120+2s) | DefaultAppIcon@2x.png | The large icon in home screen (iPhone 2x) |
| 16 | 58×58 | DefaultSmallAppIcon@2x.png | ||
| 17 | 58×58 | DefaultSmallAppIcon@2x.png | ||
| 18 | 22×29 | 31×37 | ||
| 19 | 44×58 | 62×74 | ||
| 20 | 22×29 | 31×37 | DefaultAppIcon.png | |
| 21 | 44×58 | 62×74 | DefaultAppIcon.png | |
| 22 | 44×45 | DefaultAppIcon.png | ||
| 23 | 86×87 | DefaultAppIcon.png | ||
| 24 | 57×57 | 59×(60+s) | DefaultAppIcon.png | The large icon in home screen in grayscale (iPhone) |
| 25 | 114×114 | 118×(120+2s) | DefaultAppIcon@2x.png | The large icon in home screen in grayscale (iPhone 2x) |
| 26 | 72×72 | 74×(76+s) | DefaultAppIcon-72.png | The large icon in home screen in grayscale (iPad) |
| |||||||||||