How to create Tappable Button in swiftui For Widgets

i have working on calendar app i want to show widgets .
when i tap a next button its go to the next date in widget don't go app.
how to create ?
Hi,
Widgets will always launch the app when they are tapped, so there is no way to only add an action to the widget. Depending on the Widget Size you have the option of using Tap targets. The small Widget only has one big button, itself. The large Widget has a few targets that can perform different actions by using different URLs, but they also launch the app.

Take care,
David
How to create Tappable Button in swiftui For Widgets
 
 
Q