I use to use UIDocumentInteractionController and UIActivityViewController to share data with a special UTI.
However, when other app use Share Extension, there will may options when share interface popup, such as copy tp xxx and import to xxx.
How…
I'm building a share extension for my app, which has meant initialising the Core Data database from the shared directory:
let directory = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: applicationGroupIdentifier)!
let…
I have a share extension where the user chooses a photo or video, which we then upload (a) to Amazon and then (b) the URL to our server. This can take some time and so if an error happens during the upload I would like to alert the user on…
I'm having troubles implementing the share extension in an application. I'm using swift 3, xcode8.
override func configurationItems() -> [Any]! {
// To add configuration options via table cells at the bottom of the sheet, return an array of…
I am working on share extension and I want the name of the application where my share extension is clicked.
If I click on whatsApp sharer(or UIActivityViewController) then a list of shareVia apps displays, there
if I clicked on fb then I need to…
I am trying to implement share extension for my app. Its working good in safari browser and youtube app (i.e) when i share from these apps i get the public.url which is the url to be shared.
When i tried the same in chrome it was not showing the…
I am developing an iOS app that allows user to save urls, similar to the Pocket app. In the app I have a share extension that basically just save the url into a NSUserDefaults based on the app group. For some reason the share extension causes the…
Is it possible to redirect a user back to my app from my share extension (after finishing the posting/other action)?
I couldn't get UIApplication.sharedApplication() to work - method was unavailable.
Any ideas if this is possible/if Apple even…
My app implements Share extension. I can share any link to my app from Safari, once I tap POST button within SLComposeServiceViewController share view disappear, but screen of Safari is frozen. I need to force close Safari to use it again.
What…
For some reason there is a lot of messages Received memory warning. Sometimes this occur along with _BSMachError: (os/kern) invalid capability (20). I do not know what is going on. I read a lot of questions how to solve this, but with no…
Recently when I selected the my share extension at share extension list using real device iPhone5s which OS is iOS8.2, debugger showed many errors and sometimes could not HTTP request and showed HTTP request timed out error.
The simulators do not…
My Share Extension doesn't require any user input aside from configuration in a table view so I am trying to hide the keyboard when the view is presented in Safari. I'm able to run my code in the simulator fine but when I test on my device, I'm the…
So I have this iOS Share Extension for my app that sends a result to my server in didSelectPost() when the 'POST' button is clicked.
It all works fine on simulator; the request is sent and I can see data packets going out in Charles.
On iOS 9, the…
What do I mean?
This is the list of extensions activated for some app downloaded from App Store:
There is Message, Mail, Notes and Add to Wishlist (my extension).
This is what happens when I tap on message:
This is what happens when I tap on…
On the right top side there is disabled post button. How can I change its text or enable it manually?
navigationBar.rightBarButtonItem?.enabled = true
doesnt work