Class

CLKComplicationTemplateGraphicCircularStackImage

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

Declaration

@interface CLKComplicationTemplateGraphicCircularStackImage : CLKComplicationTemplateGraphicCircular

Overview

This template belongs to the CLKComplicationFamilyGraphicCircular family.

Figure 1

Layout of the graphic circular stack image template

Diagram showing the layout of a circular template containing an image and text.

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

56 pixels

28 pixels

44 mm

62 pixels

32 pixels

This template supports full-color images.

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 Complicaiton Data

line1ImageProvider

The image to display.

line2TextProvider

The text to display below the image.

Relationships

See Also

Circular

CLKComplicationTemplateGraphicCircularImage

A template for displaying a full-color circular image.

CLKComplicationTemplateGraphicCircularStackText

A template for displaying two rows of text.

CLKComplicationTemplateGraphicCircularClosedGaugeImage

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

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.