Post

Replies

Boosts

Views

Activity

Reply to AppIntentTimelineProvider "func timeline(for" is called twice after a widget button triggers an AppIntent Perform
The issue still exist on Xcode16.2/iOS 18/real phone/simulator. Tap on Button(intent: I, @ViewBuilder label: () -> Label), then intent would perform once, but widget timeline function called twice. So, if the business logic of the timeline method is not idempotent, it will be difficult to resolve.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25