Can anyone could give me any insight into when the placeholder(in:) method gets called by the system? Through a significant amount of testing it seems to get called very seldomly and then cached off and reused. The mostly makes sense for a shipped application but it causes me issues during development because it will cache off a old/broken version and then I can't get rid of it.
From my experience, the cached placeholder view lives on my device through launches of the main app from Xcode, launching the widget extension from Xcode, rebooting the phone, upgrading between each new beta release, quiting/restarting the app on my phone, and just waiting a couple weeks.
I would be interested to know both what triggers the system to refresh the placeholder and what, if anything, I can do to intentionally force a refresh.
From my experience, the cached placeholder view lives on my device through launches of the main app from Xcode, launching the widget extension from Xcode, rebooting the phone, upgrading between each new beta release, quiting/restarting the app on my phone, and just waiting a couple weeks.
I would be interested to know both what triggers the system to refresh the placeholder and what, if anything, I can do to intentionally force a refresh.