Relative Content

Tag Archive for iosswiftwidgetkit

Placeholder for IOS Widget is displayed on Home Screen

I have been using my SwiftUI app for a while and noticed that my widget started showing the placeholder instead of the actual widget in random times. For the placeholder widget I used template data and it isn’t meant to be displayed on the home screen. The comments left by the WidgetKit extension template stated that I shouldn’t do fetch requests in the placeholders, so I didn’t.