DevTechie
Published in

DevTechie

New in SwiftUI 4: Share Sheet with ShareLink

Photo by Jason Goodman on Unsplash

ShareLink is another cool feature introduced in SwiftUI 4. ShareLink is a view that controls share sheet presentation AKA share interface.

ShareLink view generates a link which, upon tapping presents share interface. This link uses system standard appearance of link view so all you need to do is to supply content which needed sharing.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store