Questions tagged [ios-sharesheet]

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.

85 questions
0
votes
1 answer

SwiftUI - ActionSheet / ShareSheet leads to 'windows' was deprecated in iOS 15.0

I’m using the following code that gets triggered via a button to display the share sheet in my app: func shareSheet() { guard let urlShare = URL(string: "https://google.com") else { return } let activityVC =…
0
votes
2 answers

UIActivityViewController: "Add Tags" Action

Background My app supports exporting CSV files using the following code (where CSVFileActivityItemProvider is a UIActivityItemProvider subclass that provides the URL to a CSV file stored in FileManager.default.temporaryDirectory): func…
JWK
  • 3,345
  • 2
  • 19
  • 27
0
votes
1 answer

Determine When Share Sheet Has Been Dismissed After User Saves Document

I am presenting a share sheet to users, this obviously allows them to do a number of things but in my case, they are saving a gpx file to a location of their choice. I would like to show a UIView when the document has been saved successfully, so my…
Chris
  • 247
  • 1
  • 4
  • 17
0
votes
0 answers

Trying to register my Xamarin.iOS app to launch when custom document extension is opened or tapped

Trying to achieve the same functionality as an Excel page that is shared or a Word doc that is shared opens the Excel or Word app. I have a document with a custom extension .DLMSFT and .dlmsft. They are both registered in my app's Document type,…
0
votes
1 answer

iOS applink not working on the device but opens app on simulator

I tried to follow as many as suggestions as possible but could not get it to work on my app which is still in development (not in appstore yet). Here are the details: Only testing in iOS 14 for now. Following JSON file "apple-app-site-association"…
rysv
  • 2,416
  • 7
  • 30
  • 48
0
votes
0 answers

iOS Share Sheet: How to share CSV data in a way Numbers app and Excel are offered for import?

I try to use CSV data via the iOS share sheet. My problem: The share sheet does not offer the apps „Apple Numbers“ or „Microsoft Excel“ for import! If I use „Save to files“ in the share sheet first and share this saved file via Files App later,…
0
votes
0 answers

Can I hide any contact from my messenger app in the iOS Share Sheet (Swift 5)

I work on some messenger app and I seeking a way to hide blocked contact (it was blocked in my app) in the iOS Share Sheet. Can I do it in my code? How does iOS Share Sheet work? How does it get contacts from any app?
0
votes
1 answer

SwiftUI | How to use share sheet to copy localized strings?

I added share sheet button and it works great for my English texts (copying ,sharing) BUT for the localized texts the app hung and crash when I add LocalizedStringKeys() , and when I don't add it the text is showing English. func shareSheet(){ …
0
votes
1 answer

How to share generated UIImage with siwft 4

Hi I use this function to create an UIImage of QRCode func generateQRCode(string: String){ let data = string.data(using: String.Encoding.ascii) if let filter = CIFilter(name: "CIQRCodeGenerator") { filter.setValue(data,…
RFComp
  • 1
  • 2
0
votes
0 answers

Share Extension ▸ Firebase getDocuments in application Share Extenstion

I have an application which supports Share Extension for image sharing to the Firebase/Firestore I am trying to request to get relevant documents to set my database record once image being uploaded. 1. With…
Ayaz Rafai
  • 279
  • 2
  • 10
0
votes
1 answer

iOS Share Sheet and Copy options paste link not working in certain situations

We're having a fairly strange issue with the share sheet copy activity. We just have a short blurb about the content and then we provide the link to the share activity, as in... guard let viewController = vc, let sourceView =…
Eric
  • 433
  • 5
  • 12
0
votes
1 answer

iOS - Document based app import file from share sheet

I am building a document based iOS app. When I set the "Supports Document Browser" key in the info.plist file to YES, my App is displayed with the text "Open in " underneath the icon and it is shown in the Files app in iOS. When I open the file in…
FTFT1234
  • 435
  • 8
  • 17
0
votes
0 answers

AdMob Banner in ShareSheet

Is there any restriction that it is not possible to display a bannerview from Google Admob in a sharesheet? I have an app which provides additional data in the sharesheet, and I also want to display ads there. In my main app, the ads work fine - but…
Alexander Ko
  • 195
  • 18
0
votes
1 answer

Share sheet Cancel buttons invisible swift

Is anyone else running into this problem. I recently noticed that the cancel/save buttons on the share sheets are now white making them impossible to read. I've tried changing the navigation bar color but that doesn't even seem to work so clearly…
D.D
  • 11
  • 4
0
votes
1 answer

NSExtensionActivationRule for iOS Share Extension is not working

I am working on an app extension, that should help me to get the article URL via the sharesheet in the amazon app or in safari when surfing amazon. For safari, I receive the info as type kUTTypeURL. From Amazon, I get the URL as type kUTTypeText. As…
Alexander Ko
  • 195
  • 18