Class

CLKComplicationTemplateGraphicCircularOpenGaugeImage

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

Declaration

@interface CLKComplicationTemplateGraphicCircularOpenGaugeImage : 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 open gauge image template

Diagram showing the layout of text with an open gauge and an image.

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

44 pixels

44 pixels

44 mm

48 pixels

48 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

bottomImageProvider

The image to display at the bottom of the gauge.

centerTextProvider

The text to display in the center of the gauge.

gaugeProvider

The gauge to display in the complication.

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.

CLKComplicationTemplateGraphicCircularClosedGaugeImage

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

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.