Class

CLKComplicationTemplateModularSmallStackText

A template for displaying two strings stacked one on top of the other.

Declaration

@interface CLKComplicationTemplateModularSmallStackText : CLKComplicationTemplate

Overview

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

Figure 1

Layout of a modular small stack text template

Diagram showing the layout of two small rows of text.

Topics

Setting the Complication Data

line1TextProvider

The text to display on the top line of the complication.

line2TextProvider

The text to display on the bottom line of the complication.

highlightLine2

A Boolean value indicating which line should be drawn with a highlight.

Relationships

See Also

Text Templates

CLKComplicationTemplateModularSmallColumnsText

A template for displaying two rows and two columns of text.

CLKComplicationTemplateModularSmallRingText

A template for displaying text encircled by a configurable progress ring.

CLKComplicationTemplateModularSmallSimpleText

A template for displaying a small amount of text.