SwiftUI ShareLink with custom actions

78 Views Asked by At

Currently, I’m using a ShareLink to display the standard share sheet in my app. Now, I’d like to display actions inside the share sheet that perform a custom action like the following example.

With UIKit this was done via a UIActivity object inside the UIActivityViewController.
In AppKit via a NSSharingService object inside the NSSharingServicePicker.

Is that possible with the ShareLink or do I have to bridge to UIKit/AppKit for this?

macOS share sheet with custom actions at the bottom

0

There are 0 best solutions below