不确定该应用是否喜欢支持iOS 13和iOS 14 for witch部件
不确定该应用程序是否喜欢支持iOS 13和iOS 14的小部件。
在iOS 13及更早的iOS上,该小部件今天是扩展的,其实现是通过NCWidgetProviding,但是它弃用了iOS 14上的新WidgetKit替换
。它与widgetkit。但是,喜欢与iOS 13保持兼容性,最好的方法是什么?我们是否需要离开当前的当前扩展名并在其上添加新的WidgetKit实现?
我试图弄清楚,没有任何文档可用。任何指南和帮助将不胜感激。
It is unsure if the app likes to support both iOS 13 and iOS 14 for the widget.
On iOS 13 and earlier, the widget is Today Extension and its implementation is through NCWidgetProviding, but it is deprecated to replace with a new WidgetKit on iOS 14.
It would be simple if the app support only iOS 14 - removing old Today Extension and replace it with WidgetKit. But like to keep compatibility with iOS 13, what would be the best way? Do we need to leave the current Today Extension and add a new WidgetKit implementation on it?
I tried to figure out, no documentation is available. Any guides and help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论