I'm implementing snapshot sharing in iOS app, so the UIImage is created from the View and it is in the sharesheet and works fine, but I can't get to show this UIImage as a thumbnail is ShareSheet.
func actionSheet(image: UIImage) {
let urlShare = image
let activityVC = UIActivityViewController(activityItems: [urlShare], applicationActivities: nil)
UIApplication.shared.windows.first?.rootViewController?.present(activityVC, animated: true, completion: nil)
}
the UIImage is created on the fly, so there's no url for it in the app
How can I make it show it anyway?