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
Post
Replies
Boosts
Views
Activity
Ay8s thanks.
I thought the appgroup added automatically to both targets, but instead you have to do it manually for the app extension.
Instead can you tell me something about passing data with the FileManager between Widget extension and main app?
Thanks
Same problem, Some solutions?
Same situation, you need Xcode 15 beta
Same error, here's my code:
do {
try await Tips.configure {
DatastoreLocation(.applicationDefault, shouldReset: false)
DisplayFrequency(.hourly)
}
} catch {
print("TIPKIT err")
}
Had you try any solution in beta 7? @VetrivelMurugan