Custom Preview Item ShareLink
Creates an instance, with a custom label, that presents the share interface
Platform Compatibility
Tags
SwiftUI Code
ShareLink(
"Share Cats",
item: Image(.cats),
subject: Text("Cool Photo"),
message: Text("Check it out!"),
preview: SharePreview(
"Derpy Cats",
image: Image(.cats)
)
)