Class

CPImageSet

Light and dark representations of an image.

Declaration

class CPImageSet : NSObject

Topics

Creating an Image Set

init(lightContentImage: UIImage, darkContentImage: UIImage)

Creates an image set with light and dark versions of an image.

Getting Content Images

var lightContentImage: UIImage

The image the system displays when the user interface style is light.

var darkContentImage: UIImage

The image the system displays when the user interface style is dark.

Relationships

Inherits From

See Also

User Interface Basics

class CPInterfaceController

A controller that manages the templates that provide the user interface for your app on the CarPlay screen.

class CPMapTemplate

A template that provides a navigation bar and map buttons allowing users to interact with your app.

class CPListTemplate

A template that displays a hierarchical list of items.

class CPGridTemplate

A template that displays a grid of items.

class CPTemplate

An abstract base class for interface templates.