How to perform deeplink from widget to parent app

My application is UIkit app(SWIFT + OBJECTIVE C ) , not swiftUI app , after implementing this new Widget kit how can I perform deeplink from widget to my app .
can we call sometime thing like this in widget
 
Code Block
[self.extensionContext openURL:deeplinkURL completionHandler:nil];

Replies

There are two ways to do this, if you want the whole widget to be one tappable target, you can use the widgetURL modifier on your widget view: https://developer.apple.com/documentation/swiftui/view/widgeturl(_:)

For medium and large widgets, you can use the new SwiftUI Link view to have different tappable targets with different URLs: https://developer.apple.com/documentation/swiftui/link
Hi @Shaktipraksh did you find a solution for this. Even I am using Swift + Objective C. Can you help me if you have solution for this.
Deep linking from widget to parent app is very easy. You just have to configure your small widget with widget URL and other widgets with Link view builder.

After doing this, when you tap on your widget or specific tap targets of your widget, your App delegate application: openURL method gets called. Be it swift or objective-C, this method will trigger and you have to handle the logic to show a specific application View controller