Class

CLKComplicationTemplateGraphicCircularClosedGaugeImage

A template for displaying a full-color circular image and a closed circular gauge.

Declaration

@interface CLKComplicationTemplateGraphicCircularClosedGaugeImage : CLKComplicationTemplateGraphicCircular

Overview

This template belongs to the CLKComplicationFamilyGraphicCircular family. Figure 1 shows the layout of the image and where the template might appear on the clock face.

Figure 1

Layout of the graphic circular closed gauge template

Diagram showing the layout of a circular image with a closed gauge.

Table 1 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

28 pixels

28 pixels

44 mm

32 pixels

32 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 Manage Assets.

Topics

Setting the Complication Data

gaugeProvider

The gauge to display in the complication.

imageProvider

The image to display.

Relationships

See Also

Circular

CLKComplicationTemplateGraphicCircularImage

A template for displaying a full-color circular image.

CLKComplicationTemplateGraphicCircularStackImage

A template for displaying a full-color circular image and text.

CLKComplicationTemplateGraphicCircularStackText

A template for displaying two rows of text.

CLKComplicationTemplateGraphicCircularOpenGaugeImage

A template for displaying a full-color circular image, an open gauge, and text.

CLKComplicationTemplateGraphicCircularClosedGaugeText

A template for displaying text inside a closed circular gauge.

CLKComplicationTemplateGraphicCircularOpenGaugeSimpleText

A template for displaying text inside an open gauge, with a single piece of text for the gauge.

CLKComplicationTemplateGraphicCircularOpenGaugeRangeText

A template for displaying text inside an open gauge, with leading and trailing text for the gauge.

CLKComplicationTemplateGraphicCircular

An abstract superclass for all the circular graphic templates.