Post

Replies

Boosts

Views

Activity

Reply to Receive sub link from widget in App Delegate
Hi, Thanks for your answer. Yes the delegate method did not call in AppDelegate. But I just solved the problem, I found out that I had made a mistake. in my question I wrote this sample code for use link: Link(destination: URL(string: "urlschemes://link1")!, label: {                Image("landscape")            }) But in my project I use a custom view called "myPhotoSwiftUIView" so in the reality my code is : Link(destination: URL(string: "urlschemes://link1")!, label: {                myPhotoSwiftUIView(imageName: "landscape")            }) Here is the mistake, inside my custom class I had added the property ".widgetURL", as soon as I removed it the "Link" works correctly, and the App delegate method application:openURL:options:  start to work. Thanks for your time I hope that my question could help some other developers
Jul ’20