CLKComplicationTemplateGraphicCircularClosedGaugeImage
A template for displaying a full-color circular image and a closed circular gauge.
Declaration
class CLKComplicationTemplateGraphicCircularClosedGaugeImageOverview
This template belongs to the CLKComplicationFamily.graphicCircular family. Figure 1 shows the layout of the image and where the template might appear on the clock face.
[Image]
The following table lists the dimensions of the image you use in this template. All dimensions are in pixels. All images must be specified as @2x images for display on Apple Watch, so the point-based dimensions are half the listed size.
Apple Watch Size | Width | Height |
|---|---|---|
40 mm | 54 pixels | 54 pixels |
41 mm | 57 pixels | 57 pixels |
44 mm | 62 pixels | 62 pixels |
45 mm | 64 pixels | 64 pixels |
This template supports full-color images. The image provider automatically masks the image to a circle.
Instead of providing multiple images with different resolutions, you can provide a single, scaleable PDF asset. For more information, see Supporting Multiple Watch Sizes.
Topics
Creating the Tempate
Setting the Complication Data
See Also
Open and closed gauges
CLKComplicationTemplateGraphicCircularOpenGaugeImageCLKComplicationTemplateGraphicCircularOpenGaugeViewCLKComplicationTemplateGraphicCircularOpenGaugeSimpleTextCLKComplicationTemplateGraphicCircularOpenGaugeRangeTextCLKComplicationTemplateGraphicCircularClosedGaugeViewCLKComplicationTemplateGraphicCircularClosedGaugeText