Share sheet in SwiftUI using UIActivityViewController
There is no built in share sheet in SwiftUI but you can easily implement a share sheet using UIActivityViewController. UIActivityViewController is a simplified built in interface to share contents such as texts, images and URLs. You can also define custom…