Questions tagged [share-extension]
198 questions
2
votes
0 answers
Share extension not showing up for my existing Universal project
I am adding a share extension to my existing Universal app, but it's never showing up in the shared menu.
xcode 9.3 , Deployment target for Parent app and extension 9.3
Steps for adding xcode
File -> New -> Target-> shareExtesnion
All certificates…

Abhishek Verma
- 21
- 1
2
votes
2 answers
Share extension does not appear in capable apps if NSExtensionActivationRule is set for audio only
I am trying to create a share extension where the users can upload her audio recordings from any capable app. The documentation even has a straightforward example (see Declaring Supported Data Types for a Share or Action Extension) (also brought up…

toraritte
- 6,300
- 3
- 46
- 67
2
votes
2 answers
App Sharing is giving nil data
I am creating an iPhone app and iWatch app. I want to share data from iPhone app to iWatch app.
I am using app group for both and saving data in User Defaults using suit name. But when I am retrieving values in iWatch then it is always nil.
I have…

Dev
- 21
- 5
2
votes
0 answers
Is there any way to remove my share extension app switch on/off option from device default shared UIActivityController?
I am developing a share iOS extension app which will support the share a file or text contents to other app through device shared UIActivityController.
My iOS extension app have included the required keys into plist for a share extension app: …

iOSUser01
- 21
- 3
2
votes
2 answers
My app is not showing up in Share Sheet
I integrated share extension in my application. This is my plist file for share extensions.
NSExtension
NSExtensionAttributes
NSExtensionActivationRule
…

iGatiTech
- 2,306
- 1
- 21
- 45
2
votes
0 answers
Accessing preview image of SLComposeServiceViewController
Has anyone had any luck capturing the image preview, a screenshot of the website, that apple presents in the its share extension for safari webpages, without having to simply replicate the functionality?

user2228503
- 77
- 1
- 1
- 12
2
votes
1 answer
Share extension without UI
I've created a Share extension that will save a file URL to user default. The extension comes with a UI with Post and Cancel button. How can I remove this (the UI) so that when I press my share extension, it will straight away call the…

da32
- 703
- 1
- 9
- 18
2
votes
1 answer
Accessing Website URL and Title in ShareExtension
I'm trying to access the url and title of the page the user is currently on via a ShareExtension to my app.
After setting everything up I can't seem to get the code inside the completionHandler to run.
if let item =…

boywithaxe
- 286
- 1
- 12
2
votes
0 answers
How can I share files from iBooks with my Shared extension target
How can I share files from iBooks with my Shared extension target?
I have next option in my Shared extension target .plist
I can open any files from iCloud Drive, Google drive and Dropbox with my application, but from iBooks app there is option to…

revolutionkpi
- 2,632
- 10
- 45
- 84
2
votes
1 answer
Share Extension UI takes too much time to load
I'm developing a simple, custom Share Extension: "custom" means I'm not extending SLComposeServiceViewController but a regular UIViewController.
The extension loads an image from Photos app and displays it. The UI is very simple: there's a…
user1094081
2
votes
1 answer
iOS Share Extension notification
I'm developing an application that has a share extension target.
The app allows photo upload to a server which makes some analysis on the photo. When the analysis is done, which may take few seconds, a notification (with a banner) appears to notify…

radar
- 500
- 1
- 6
- 24
2
votes
1 answer
Swift 3 - Share URL and title from share extension to main app?
I've got the following from this tutorial on creating a ShareExtension:
override func didSelectPost() {
self.extensionContext!.completeRequest(returningItems: [], completionHandler: nil)
}
Which uses this javascript to get the url:
var…

Dominic
- 33
- 4
2
votes
2 answers
IOS share extension how to support apple news
Can you please help me in the matter of supporting apple news sharing ,
My Share Extension info.plist contains :
NSExtension
NSExtensionAttributes
NSExtensionActivationRule
…

Eng waleed qaffaf
- 152
- 2
- 11
2
votes
0 answers
iOS Swift Share Extension crashes when I open a URL
How the title says, my Share extension crashes when I open a url.
Xcode says: Thread 3: EXC_BAD_ACCESS (code=1, address=0x10)
I already tried with other url schemes and the result is same.
This is my code:
import UIKit
import…
user6312715
2
votes
0 answers
iOS App with introduced Share Extension works only on devices having never installed the app before
We have an iOS product having run fine for a long time with several updates.
In the latest release a Share Extension was introduced (requiring an additional Provisioning Profile). The extension is for photo sharing directly from the Photos App and…

lox
- 1,602
- 4
- 27
- 41