Can TodayExtensions and WidgetKit Coexist in an App

I understand that TodayExtension will be deprecated in iOS 18, and we have integrated WidgetKit into our app. However, we have encountered some issues during the app update process. Specifically, we noticed that the TodayExtension might not appear in the tools list or sometimes the TodayExtension appear "Unable to Load"

Could you please advise on the possible causes of this issue? Is there a way to resolve it if we want to keep both types of widgets active?

The today widgets have been deprecated for years. I believe that was done in 2020 when they introduced the new style of widgets, but maybe it was a year later. With iOS 18, the Today Extension Widgets are being completely removed. You can keep them in your app for the benefit of iOS 17 or older users, but there is no option to support them on iOS 18. Any widgets should be implemented using WidgetKit

Thank you for your reply. We are going to remove the Today Extension Widgets in our next version. However, a problem still occurs when I update my app to this new version: the old widgets (Today Extension Widgets) remain on the user’s home screen but display “Unable to load.” Is there any way to automatically remove all widgets of a given extension from the user’s home screen? Alternatively, is there another approach that would not affect the old widgets?

I would wait for GM to confirm the unable to load behavior. It is true Today Extensions are no longer supported and WidgetKit is the path forward. Is there a specific behavior in your Today Extension that can't be done in your Widget?

Also, there is no API to automatically remove Widgets, hence why I say wait for GM to confirm what the new behavior should be.

RIco WWDR - DTS - Software Engineer

Can TodayExtensions and WidgetKit Coexist in an App
 
 
Q