Skip to content

Update CPMapButton CarPlay #5662

Description

@dmpr0
iOS 27 iOS 18.5

The problem is limited to CPMapButton: those assets bake in their own background, because before iOS 26 CarPlay drew none.

  • Add glyph-only versions of the four CPMapButton assets: transparent background, no baked shape, template rendering mode
  • Select the asset set at runtime: if #available(iOS 26.0, *) → glyph-only, otherwise the existing composite asset
  • Keep the existing composite assets unchanged — iOS 15–18 rendering must stay exactly as it is now
  • Update focusedImage the same way, for both sets (rotary-controller focus state)
  • Check optical sizing of the new assets — removing the background changes the glyph's effective size inside the same box
  • Verify on iOS 26 in both light and dark car appearance, and confirm no regression on iOS 18

Assets

New for iOS 26+

  • 3Dic_custom_3d
  • 2Dic_custom_2d
  • My locationic_custom_map_location_position
  • Zoom inic_custom_map_zoom_in
  • Zoom outic_custom_map_zoom_out

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions