Post

Replies

Boosts

Views

Activity

Reply to TipKit popover inside ForEach Loop
Thank you very much, that example is exactly my scenario, what I want to implement, but even in the sample code I ran into the same problem. As long as there is more than one FoodEventTip.Item in the list, the tip is not shown. Based on the rules, the tip should be displayed with the fifth favorite, but it is not. More than one item, no tip will be shown: Array has only one item, the tip will be shown: Also, if you move the popoverTip view modifier onto the HStack it will be shown, but then it's not on the button. Seems that there is some bug with popoverTip inside a ForEach loop. Xcode Version 16.4 (16F6) and iPad Simulator with iPadOS 18.5
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to Best practice for background synchronization with authorization
A standard URLSession can work from the background you just have to ensure that the app isn’t suspended while that work is in progress. Thanks for the clarification regarding the URLSession and the background execution. I've found different information about this. I think we will use a mixture of both ways. For the initial synchronization we'll use a background session task and for the subsequent synchronization simply a BGAppRefreshTaskRequest. Since these only need to retrieve and process data since the last sync.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’21