Posts

Post not yet marked as solved
1 Replies
1.2k Views
I'm building an app with 3 targets: the main app, a shortcuts extension and a widget extension. When running in the simulator, the app's shortcut action (which is just a wrapper to call the reloadTimelines method) is capable of updating the widget multiple times. The same behaviour is experienced when running the app from Xcode on my devices (iPhone 8 Plus and iPad Pro 10,5"). But, when running the app on device without Xcode, the shortcut will only update the widget once or none at all, and then it stops updating. I've already tried calling WidgetCenter.shared.reloadAllTimelines from a global.async block to no avail.
Posted
by stalf.
Last updated
.
Post marked as Apple Recommended
4.7k Views
Hello everyone, I've read iOS 14 widgets must be built using SwiftUI. But is it possible to show a UIKit view in the widget by wrapping it into UIViewRepresentable?
Posted
by stalf.
Last updated
.