Class

CLKComplicationTemplateUtilitarianLargeFlat

A template for displaying an image and string in a single long line.

Declaration

class CLKComplicationTemplateUtilitarianLargeFlat : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamily.utilitarianLarge family. Figure 1 shows the layout of the data and where a template of this type might appear on the clock face.

Figure 1

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

Diagram showing the layout of a row 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. The width of each image must be between the specified minimum and maximum (inclusive).

Table 1

Image dimensions

Apple Watch Size

Width

Height

38 mm

18 pixels minimum

42 pixels maximum

18 pixels

40 mm

20 pixels minimum

44 pixels maximum

20 pixels

42 mm

20 pixels minimum

44 pixels maximum

20 pixels

44 mm

22 pixels minimum

49 pixels maximum

22 pixels

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

Relationships

Conforms To