Async image on CarPlay CPGridButton

Hello there,


I understand the CarPlay api for navigation apps is likely respecting some automotive rules. Still i find it very restrictive in terms of what the developer can or can't do. Specifically I am working on an app that is full "reactive", whether it's with combine or RxSwift, I am working with images that aren't reachable synchronously even though they might be local.


CPGridButton cannot update it's own image and there are not ways to do so.

The only approach I see is to wait for all my buttons to have fetched their image and provide that to the CPGridTemplate directly with image, where I would love to push, and see images appear then.


Any idea if I can avoid this issue ? The only way I see is somehow not very convenient with the current app's architecture.

Post not yet marked as solved Up vote post of quentinf Down vote post of quentinf
662 views