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


class CLKComplicationTemplateExtraLargeStackText : CLKComplicationTemplate


This template belongs to the CLKComplicationFamily.extraLarge 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 an extra large stack text template

Diagram showing the layout of two rows of text.


Setting the Complication Data

var highlightLine2: Bool

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

var line1TextProvider: CLKTextProvider

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

var line2TextProvider: CLKTextProvider

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


Conforms To

See Also

Text Templates

class CLKComplicationTemplateExtraLargeColumnsText

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

class CLKComplicationTemplateExtraLargeRingText

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

class CLKComplicationTemplateExtraLargeSimpleText

A template for displaying a small amount of text