Messages Extension Icon Type
The application icons for a Messages extension.
Extension
.stickersiconset
Folder Contents
.png
files for the icons for a Messages extension.
Contents.json File
Metadata and attributes for the individual icon files as shown in (Table 22-1).
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Versioning information for the asset catalog. |
|
String |
The application that authored the asset catalog. |
|
Number |
The version of the asset catalog. |
|
Array of dictionaries |
Each dictionary in the array is one variant of the Messages extension icon. |
|
String |
The name of the |
|
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. |
|
String |
A specific platform type for images with an |
Values for Enumerated Tags
idiom
See idiom in Image Set Type.
platform
Used for an image that is targeted for a specific platform when the idiom
is universal
Table 22-2. For example, an image that is targeted for all iOS devices but not for macOS, tvOS, or watchOS devices.
size
The size of the Messages app icon in points. Also see Points Versus Pixels (Table 6-2).
Value |
Description |
---|---|
|
An iPhone or iPad settings icon. |
|
A Messages extensions icon for iPhone indicated by "C" in Figure 22-1. |
|
A Messages extensions icon for iPad indicated by "C" in Figure 22-1. |
|
A Messages extensions icon for iPad Pro indicated by "C" in Figure 22-1. |
|
A Messages breadcrumb icon indicated by "A" in Figure 22-1. |
|
An icon used to identify the Messages app in individual messages indicated by "B" in Figure 22-1. |
|
An icon for the App store and Messages App store. |
scale
See scale in Image Set Type.
Sample Contents.json File
{
"images" : [{
"size" : "60x45",
"idiom" : "iPhone",
"filename" : "MyStickerPackIcon_60x45@2x.png",
"scale" : "2x"
},
{
"size" : "60x45",
"idiom" : "iPhone",
"filename" : "MyStickerPackIcon_60x45@3x.png",
"scale" : "3x"
},
{
"size" : "67x50",
"idiom" : "iPad",
"filename" : "MyStickerPackIcon_67x50@2x.png",
"scale" : "2x"
},
{
"size" : "74x55",
"idiom" : "iPad",
"filename" : "MyStickerPackIcon_74x55@2x.png",
"scale" : "2x"
},
{
"size" : "27x20",
"idiom" : "universal",
"filename" : "MyStickerPackIcon_27x20@2x.png",
"scale" : "2x"
"platform" : "ios"
},
{
"size" : "27x20",
"idiom" : "universal",
"filename" : "MyStickerPackIcon_27x20@3x.png",
"scale" : "3x"
"platform" : "ios"
},
{
"size" : "32x24",
"idiom" : "universal",
"filename" : "MyStickerPackIcon_32x24@3x.png",
"scale" : "3x"
"platform" : "ios"
},
{
"size" : "1024x768",
"idiom" : "ios-marketing",
"filename" : "MyStickerPackIcon_ios-marketing.png",
"scale" : "1x"
"platform" : "ios"
}],
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09