2021年2月5日星期五

iOS 14 Change kind of a widget that is already in production

I have a static widget as below and deployed to production.

struct ABCWidget: Widget {      let kind: String = "xyzWidget"      var body: some WidgetConfiguration {             StaticConfiguration(kind: kind,   }  

Now I want to change the kind to "abcWidget" but when I do it, on the upgrade I see a black box for the installed widget. Is there any way to do this change without impacting existing customers.

Thanks!

https://stackoverflow.com/questions/66034207/ios-14-change-kind-of-a-widget-that-is-already-in-production February 04, 2021 at 03:13AM

没有评论:

发表评论