0

I am trying to implement CarPlay for my navigation app, and I am experiencing a misbehaviour. Buttons that are instances of CPMapButton have their appearance on the map as expected. Instead, buttons in the CarPlay navigation bar (buttonType image), that are instances of CPBarButton, do not render well. They appear squeezed and always using a light blue color with no detail:

enter image description here

The icon I am using is the following:

enter image description here

Thanks for any help.

Alfonso Tesauro
  • 1,730
  • 13
  • 21

1 Answers1

-1

The misbehaviour is in fact normal. By better reading this link, it appears that:

A custom icon, sometimes called a template, discards color information and uses a mask to produce the appearance you see onscreen in a navigation bar or tab bar.

Sorry for missing it before...

Alfonso Tesauro
  • 1,730
  • 13
  • 21