Hi Albert,
I suspect that the architecture of the template framework may not be correct for unbounded image changes, but I'm not sure. That's why I asked my last question, hoping perhaps I had missed something or overlooked an important detail.
Is there an API to evict/flush accumulated renditions for a row element (or the app)?
I hope that you can shed some light on that question -- even if the answer is "no", then at least I know with certainty that the template framework will not work for my application. Right now I am in a limbo state -- I have many customers (several per day) writing to me about this experiential defect.
I found a similar ticket in the forum here from another developer struggling with the same symptom.
I developed a synthetic stress test (to accelerate manifestation of the problem) that can break CarPlayTemplateUIHost 100% of the time -- with the only remedy being a reboot of the iPhone.
You can view stress test (movie clip) running here: https://github.com/gburlingame/ioniq-app/issues/33#issuecomment-4789048074
Running that test leads to this state:
This state is clearly abusive and non-realistic, it was created to accelerate the behavior. The problem is that even with a modest coalesced rate of image changes at the low rate of 1Hz, the problem still manifests -- it just takes much longer.
Once this state is reached -- all apps that use CarPlayTemplateUIHost become non-functional -- not just my app, but all other apps like Audible for example.
This really strikes me as a bit of an architectural problem for this shared resource: CarPlayTemplateUIHost.
Topic:
UI Frameworks
SubTopic:
General
Tags: