Post

Replies

Boosts

Views

Activity

Reply to Help with a share button swiftUI
I think ShareLink dont work with swipeActions but I got a solution to this problem, here it is: .swipeActions(){ Button(action: { let url = URL(string: "your url here") let av = UIActivityViewController(activityItems: [url!], applicationActivities: nil) UIApplication.shared.windows.first?.rootViewController?.present(av, animated: true, completion: nil) }) { Label("", systemImage: "square.and.arrow.up") } Thaks for the help!
Dec ’22