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.
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.