Post

Replies

Boosts

Views

Activity

Empty widgets on iOS 14.1 simulators.
I have updated Xcode 12.1 and it contains iOS 14.1 simulators. My widgets worked well with the previous Xcode and simulators(iOS 14.0), but since they were updated, empty widgets appear on iOS 14.1 simulators. Small and medium size widgets are quite slower than before but they showed the contents which are not refreshed well. Large size widgets display no contents and it shows only white empty backgrounds without any contents on them. This problem happens not only my app but also other pre-installed Apple apps like Reminders. The workaround would be to use a real device instead of simulators, but it is quite annoying and it can be a trouble because I don't have all screen/widget sizes of the devices.
1
0
772
Nov ’20
Support widget both iOS 13 (as Today Extension) and iOS 14(as 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.
2
1
1.4k
Sep ’20