iOS Share Sheets, allow a user to share important information directly with third party applications and services. Users can share via email, text and social networking apps.
Questions tagged [ios-sharesheet]
85 questions
2
votes
0 answers
Swift SLComposeServiceViewController loads forever even after every information is already there
So,
I have a problem with SLComposeServiceViewController:
Even after the presentationAnimationDidFinish method was called and I already have all the information I need, the thing keeps downloading and I keep getting this kind of messages on the…

unixb0y
- 979
- 1
- 10
- 39
1
vote
2 answers
ShareSheet fails to open a local file
I have a file-exporter class that was working in previous iOS versions. Now it is throwing an error saying the file can't be opened.
The function that opens the ShareSheet looks like this:
func share(log: Log, fileType: String,…

Luke Crouch
- 107
- 6
1
vote
2 answers
How to show React Native App in share sheet suggestions?
I want to use Share functionally in my React Native application but there is one exception, I don't want to share a content from my app, I want to share content from another app to my app, how is it possible to show my App in share sheet suggestions…

Leri Gogsadze
- 2,958
- 2
- 15
- 24
1
vote
2 answers
Is it possible to create a custom share sheet in Flutter?
I want to build this custom share sheet shown in the screenshot depending on the apps that are on the mobile, could anyone tell me if it's possible? screenshot
i am currently using flutter's share_plus package, but the share method summons the…

Majdd
- 11
- 2
1
vote
1 answer
SwiftUI [ShareSheet] connection invalidated. Attempt to present which is already presenting
I'm trying to create a share button in my app. App on SwiftUi, Xcode version 13.2.1, iPhone 15.2
If I use this code:
let url = URL(string: "https://example.com")
let activityController = UIActivityViewController(activityItems: [url!],…

Ostap Suleymanovich
- 71
- 5
1
vote
1 answer
QLPreviewController sharesheet greyed out on iOS App
So the QuickLookPreview displays correctly as usual, but when you try and use the Apple built-in sharesheet it is sliding up a see-through grey view that is displaying nothing else on it. Has anyone had experience with this?
Thought it might be…

AMAN77
- 6,218
- 9
- 45
- 60
1
vote
1 answer
Identifying a selection on share sheet?
I am using share sheet to open some of the native apps - i.e. Mail, Reminders, Notes, Messages. Below is my code to open share sheet after clicking on the share button.
I am looking for a way to identify a user click on share sheet i.e. an API that…

tech_human
- 6,592
- 16
- 65
- 107
1
vote
1 answer
How can I open the share sheet from my website?
Is it possible to use the share sheet on my website for IOS and Mac devices?
And if it´s possible then how?

Goldgamer
- 11
- 2
1
vote
0 answers
Is there a way to tell if the user clicks on a recent contact from the React Native share sheet?
I'm trying to build a share sheet like the attached image, however, in my case it's possible for a contact to have multiple phone numbers.
If a contact has multiple phone numbers, then before directing the user to their texting app, I want to…

gerbileee
- 125
- 6
1
vote
1 answer
SwiftUI - Saving Image to Share Sheet causes image to save blurry/low res
I have a bit of code in my app that generates a QR Code and scales it up (code reference I used from this link from Hackng with Swift. Now, I'm using the share sheet to allow the user to save the qr code to their camera roll and, it is working, but…

Benjamin B.
- 521
- 7
- 15
1
vote
3 answers
iOS share sheet/extension not fading status bar
I have a share sheet/extension that, for some reason, is not fading the status bar (even though it fades the rest of the screen). I have included an image to demonstrate the issue. I simply want the entire screen to fade, including the status bar.…

monstermac77
- 256
- 3
- 24
1
vote
0 answers
Cordova socialSharingPlugin - how to tell which service the user shared content with
I use the ngCordova port of the excellent cordovaSocialSharing plugin written by Eddy Verbruggen, using the method to share with the native sharesheet. I would like to know which option the user chose to share with, e.g. facebook, twitter etc. Is it…

Adam Diament
- 4,290
- 3
- 34
- 55
1
vote
1 answer
Share PDF from NSData via Share Sheet
The PDF file is generated on a web server and received as NSData. Swift is able to print this NSData object; however, it is not recognized on the share sheet by other applications that usually accept PDFs, like Google Drive. The only options shown…

Michael Voccola
- 1,827
- 6
- 20
- 46
1
vote
1 answer
Save files from iOS share extension for use by host app
I'm working on an app extension which I would like to allow users to share various files with the host app.
Example: Pick photo, choose share via app, photo is saved to shared folder & then available when user next opens host app.
I have the host…

KenTenMen
- 240
- 1
- 2
- 10
1
vote
1 answer
How to pass a Document File to UIActivityViewController i.e. Share Sheet
I have an iOS App which generates a CSV File and saves it to the working Documents directory of the device. Now when a user presses a button, the UIActivityViewController Share Sheet is displayed which allows you to open send data to other apps.
My…

Lavvo
- 1,024
- 3
- 16
- 35