Even though I am not using UIKit too much in app, I understand how it works when it comes to Background App refresh ( in tutorials ).
But I don’t find anything useful how I can implement it in SwiftUI, or at least how to combine UIKit methods like BGTaskScheduler with the swiftUI.
If someone knows here, I will really appreciate any help…
In the background, I want to retrieve some data from Firebase, and put them in an array of a specific model, once per day.