Contents

CPTextButton

A button that displays a stylized title.

Declaration

class CPTextButton

Overview

You use a text button to attach custom actions to an instance of CPPointOfInterest or CPInformationTemplate. When creating a button, you provide a closure that CarPlay invokes when the user taps the button. You communicate the button’s purpose using a title and a text style that the button applies to the title.

Topics

Creating a Text Button

Managing the Title

Managing the Button Style

See Also

Location and Information