My application is a UIKit
app (Swift + Objective-C), not a SwiftUI
app.
After implementing this new WidgetKit
how can I perform deeplink from widget to my app?
Which method in AppDelegate
I will get the callback?
Check the code below:
var body: some View {
VStack {
Text(entry.date, style: .time)
.widgetURL(widgetsEntryView.deeplinkURL)
}
}
If I create the project in Swift then I am getting the callback on:
func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
}
Tried Link
also. Can someone help me to solve this.