Class

CLKComplicationTemplateGraphicCornerCircularImage

A template for displaying an image in the clock face’s corner.

Declaration

@interface CLKComplicationTemplateGraphicCornerCircularImage : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamilyGraphicCorner 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 corner circular image template

Diagram showing the layout of 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

64 pixels

64 pixels

44 mm

72 pixels

72 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

imageProvider

The image to display.

Relationships

See Also

Corner

CLKComplicationTemplateGraphicCornerGaugeImage

A template for displaying an image and a gauge in the clock face’s corner.

CLKComplicationTemplateGraphicCornerGaugeText

A template for displaying text and a gauge in the clock face’s corner.

CLKComplicationTemplateGraphicCornerStackText

A template for displaying stacked text in the clock face’s corner.

CLKComplicationTemplateGraphicCornerTextImage

A template for displaying an image and text in the clock face’s corner.