Watch Complications Type
The image sets for the required watch complication placeholder images. For information on watch complications, see Complication Essentials in App Programming Guide for watchOS.
Extension
.complicationset
Folder Contents
Image sets for each of the required watch complication types.
Contents.json File (Required)
Metadata and attributes for each required complication type (Table 30-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 |
The image sets for each required complication type. |
|
Slot component |
The device idiom of the watch complication image set. It must be set to |
|
String |
The name of the asset catalog folder containing the image set for the complication. |
|
Slot component |
The role of the required complication. For the values, see role below. |
Values for Enumerated Tags
role
The type of complication (Table 30-2).
Sample Contents.json File
{
"assets" : [
{
"idiom" : "watch",
"filename" : "MyCircularComplication.imageset",
"role" : "circular"
},
{
"idiom" : "watch",
"filename" : "MyModularComplication.imageset",
"role" : "modular"
},
{
"idiom" : "watch",
"filename" : "MyUtilitarianComplication.imageset",
"role" : "utilitarian"
}
],
"info" : {
"author" : "com.developerName",
"version" : 1
]
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09