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
4
votes
1 answer
App Extension Swift: get url from any app without javascript
i would like to get the url via an action extension in every app, not just safari. For example in twitter.app when you long press a link the share sheets opens and extensions can use the url. If possible i would like to do it without the javascript…

floesing
- 43
- 4
3
votes
0 answers
UIActivityViewController: how to exclude own share extension from the activity displayed
My application has a share extension that allows the user to share photos with my application.
From within my application, the user can share photos with other applications.
When the user selects share from within my own application, how could I…

isuru
- 3,385
- 4
- 27
- 62
3
votes
1 answer
application:openUrl:options not called when opening app from share sheet of another app
I would like to open zip files with my app and configured the following:
Document Types
This leads to the desired appearing of my app in other app's share sheet. But when I tap my app in that share sheet, my app is opened, but the following method…

swalkner
- 16,679
- 31
- 123
- 210
3
votes
2 answers
How do I share an Audio File in an App using Swift 3?
Sharing an Audio File in Swift
How do I share an audio file which exists in my apps document directory to other apps?
To elaborate on this question, what I mean is when a user taps a share button in the app they should be able to email their…

Stephen Clark
- 41
- 1
- 9
3
votes
1 answer
iOS import files into my application
I am creating an iOS application through which users can print the files on their device. From my application, I can access the files on the device though the DocumentPicker provided by other apps such as iCloud Drive, Dropbox, etc.
Now, I want to…

Prerak Sola
- 9,517
- 7
- 36
- 67
3
votes
1 answer
How to launch activity directly without showing share sheet in iOS 8?
Currently my app has an option to share on Facebook and Twitter using SLComposeViewController.
SLComposeViewController *fbComposeViewController = [SLComposeViewController…

Ajax
- 1,689
- 4
- 20
- 29
3
votes
1 answer
Title and content text missing from image share sheet on iOS
When sending a link (NSURL) to my application's share sheet, I receive a single NSExtensionItem that contains not only the attachment with the NSURL inside, but also has a valid property for the text entered in the share sheet.…

Craig Otis
- 31,257
- 32
- 136
- 234
2
votes
0 answers
How do I add app to share menu for iOS/Android
I'm trying to add my app to the list of available shares for other apps, and I wanted to make sure I had it right. The documentation doesn't explicitly state this, and I really want to be sure of what it means before I move forward:
Every app that…

Joel Hager
- 2,990
- 3
- 15
- 44
2
votes
0 answers
Display Share Sheet (UIActivityViewController) in a Modal .sheet() in SwiftUI
I am trying to display a Share Sheet from inside a Modal .sheet() in SwiftUI.
The Share Sheet does not display; and I get the following error:
[Presentation] Attempt to present on…

Noob
- 133
- 6
2
votes
2 answers
ios - format the information shared with share sheet
I am using the following code to present a share sheet:
let url = "https://somelink.com"
let image = "https://myserver/an_image.png"
let text = "Join now!"
let shareSheetVC = UIActivityViewController(activityItems: [image, url, text],…

cesarcarlos
- 1,271
- 1
- 13
- 33
2
votes
1 answer
File sharing using UIActivityViewController/ UIDocumentInteractionController not working - [can't share via AirDrop, Whatapp, iMessage, Mail, etc.]
While trying to share an '.mp3' file that I have downloaded onto my app using the device's share-sheet feature, I'm able to fetch the file from the documents directory but unable to share it.
When I try to share it via Whatsapp, I get an error…

zaam
- 287
- 1
- 2
- 14
2
votes
1 answer
How can I open my app directly from the iOS Share Sheet?
Update: don't have time yet to test provided answer, but will keep this answer updated as I try different things.
In the iOS 14 Simulator, when I open the share sheet and click their Share Target, the Apple News app is launched immediately and they…

technoplato
- 3,293
- 21
- 33
2
votes
1 answer
Share Sheet with custom title + remote image on iOS13
I am bringing up a share sheet for sharing a link on iOS13. By default, it will fetch the title and image at the top of the sheet from the shared URL, and I would like to overwrite both. I have the title ready, but the image is remote and needs to…

BlackWolf
- 5,239
- 5
- 33
- 60
2
votes
1 answer
Branch.IO showShareSheet not generateting ShortUrl
I recently implemented the Branch.IO framework in iOS project. Everything is working but while calling "showShareSheet(with: blp, andShareText: shareTxt + "\n\n", from: vc, completionWithError: callback)" its opening the Ios Share Sheet option,…

Anand3777
- 448
- 2
- 5
- 16
2
votes
3 answers
How to make UIDocumentInteractionController can open files in other apps, instead of copying it to other apps?
I'm developing a download and share file method to other apps using UIDocumentInteractionController. But strangely, all I can get is "copy to" apps features, instead of "open in" apps. If I click on the "copy to", nothing happened, even though I…

Chen Li Yong
- 5,459
- 8
- 58
- 124