App Icon Type
The source images for the different sizes and resolutions of your iOS and watchOS app icons.
Extension
.appiconset
Folder Contents
.png
files for the icons.
Contents.json File (Required)
Metadata and attributes for the individual icon files (Table 6-1).
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Metadata for the author and format version of the asset catalog. |
|
String |
Use your bundle ID. |
|
Number |
The format version of the asset catalog. Use |
|
Dictionary |
Properties associated with the app icon. |
|
Boolean |
Backward compatibility for iOS 6.0 indicating if the icon includes the mask and shine effect.
|
|
Array |
Each element identifies one variant of the icon. |
|
String |
The name of the |
|
Slot component |
The color gamut of the device display. For the values, see display-gamut in Image Set Type. |
|
Slot Component |
The idiom of the icon. For the values, see idiom in Image Set Type. |
|
Slot Component |
One of the sizes that matches the idiom for the icon. If the size is not valid, the image is ignored. For the values, see size below. |
|
Slot Component |
The scale of the icon. For the values, see scale in Image Set Type. |
|
Slot Component |
The scale of the icon. For the values, see scale in Image Set Type. |
|
Slot Component |
The role of the icon in a watch app. For the values, see role below. |
|
Boolean |
Used by Xcode. |
|
Enum |
The type of matching for the system to use to find the referenced file. The only valid value is |
Values for Enumerated Tags
display-gamut
See display-gamut in Image Set Type.
idiom
See idiom in Image Set Type.
size
The size of the app icon in points. Also see Points Versus Pixels (Table 6-2).
Value |
Description |
---|---|
|
An OS X icon. |
|
An iPhone or iPad notification icon. |
|
A 38mm Apple Watch notification center icon. |
|
A 42mm Apple Watch notification center icon. |
|
An iPhone or iPad settings icon for iOS 7 or later. An Apple Watch companion settings icon. |
|
An OS X icon. |
|
An iPhone or iPad Spotlight search results icon on iOS 7 or later. The main Apple Watch app icon. |
|
An Apple Watch long-look notification icon. |
|
The main iPhone app icon for iOS 7 or later. |
|
The main iPad app icon for iOS 7 or later. |
|
The main iPad Pro app icon. |
|
A 38mm Apple Watch short-look notification icon. |
|
A 42mm Apple Watch short-look notification icon. |
|
An OS X icon. |
|
An OS X icon. |
|
An OS X icon. |
|
The App Store icon. |
scale
See scale in Image Set Type.
subtype
The type of Apple Watch when there is more than one icon size for a role.
role
The role for an Apple Watch icon (Table 6-4).
Value |
Description |
---|---|
Tag not included |
The icon is not for Apple Watch. |
|
The icon is used in the notification center. |
|
The icon is used in settings. |
|
The icon is used in the app launcher. |
|
The icon is used for a long-look notification. |
|
The icon is used for a short-look notification. |
Sample Contents.json File
{
"images" : [
{
"filename" : "my-iphone-app",
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x",
},
…
],
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09