Questions tagged [ios8-share-extension]

Related to the "Share" extension of the iOS notification center.

Related to the "Share" extension of the iOS notification center.
https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/index.html

279 questions
0
votes
1 answer

Retrieving an image from a cell to share on FB/Twitter using Swift

I have a customised UITableViewCell where I'm populating an image by first downloading it as follows let url = NSURL(string: imageurl1[indexPath.row]) let task = NSURLSession.sharedSession().dataTaskWithURL(url!) { (data, response,…
0
votes
0 answers

Post multiple image using share extension in iOS

I want to share or post multiple image in my app using my app share extension. Currently I am using below code. for (NSItemProvider* itemProvider in ((NSExtensionItem*)self.extensionContext.inputItems[0]).attachments ) { if([itemProvider…
JP_Mob
  • 114
  • 7
0
votes
2 answers

NSData WriteToFile Fails while saving a photo from gallery through Share Extension

I am Writing an app which has share extension to save selected photo to my app' local storage from iphone photo gallery. NSData WriteToFile returns YES but I couldn't find the stored file into the directory in of which I gave path while writing. So,…
Paras Gorasiya
  • 1,295
  • 2
  • 13
  • 33
0
votes
0 answers

ios create share extension LIKE whatsapp & skype which shares images from photo library

I want to create a share extension for my app just like whatsapp and skype has. Basically, I want to save a photo from photo library to my app with share extension. I found that I can use UIDocumentInteractionController but I couldn't find any…
Paras Gorasiya
  • 1,295
  • 2
  • 13
  • 33
0
votes
1 answer

Is that an iOS share extension will be installed automatically if user installed your main app?

I want to create a Safari share extension for my main app, and I just realized that there are already many of share extensions when I open the safari share activity, while I didn't install any extensions from app store my self. So, is that a share…
Pei
  • 460
  • 4
  • 21
0
votes
0 answers

Xamarin ios Share Extension is not working

I created a simple 'Share Extension' in xamarin ios However, after tapping my extension icon, then the native share dialog comes up, then I tap 'post' button but, I do not see anything happening after the 'post' button is tapped. In the…
0
votes
0 answers

Get article image when shared from safari

Our team is building an iOS application. We have a requirement like to share a link from browser like safari. From the application we are getting the URL shared from the browser but we also need to get the main article image(if available) or the…
Amitava Karan
  • 637
  • 1
  • 5
  • 20
0
votes
0 answers

iOS Share extension - Calling multiple request

I'm trying to call multiple request from the share extension. The request flow is follows 1. call request one - returns id 2. call request two using request one id 3. call request three using request two id To make this work, I only have to…
0
votes
0 answers

How to copy the selected HTML without modifying the format - iOS extension

Here is the scenario. For iOS share extension, the user selects the content in the safari and taps the share button. Safari screenshot What I need is, to get the selected html without any modification in its format. I can get the selected HTML by…
0
votes
1 answer

iOS Sharing .h file between main app and share extension

I have all constant key in .h file. After that, I share that one between my main app and my share extension. However, my share extension doesn't seem to read that file and I can't use constant key from there. How shall I do?
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
0
votes
1 answer

error: failed to attach to process ID 3030 ios Share Extension

I am doing for share extension with Swift and I try to run my share extension. But it can't launch and fail with this error. How shall I do? I don't use default share view and I use custom layout though. If I use default view, at least, it show that…
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
0
votes
1 answer

How to import a file from the main container project inside share extension?

I want to import a file/class I created in the main project inside an Application Extension. How can I achieve that? File inside my main project: struct MyConstants { static let = MaxChars = 100 } In Share Extension: import UIKit import…
Esqarrouth
  • 38,543
  • 21
  • 161
  • 168
0
votes
1 answer

How to make an IOS 8 share extenison that will have deafult text

In my app there is text displayed in a label on screen. I have a share button when pressed brings the UIActivityViewController but when you press the share extensions ex: Twitter, you get the compose view with nothing inside of it. I want it that it…
0
votes
1 answer

How to make an iOS 8 share extension that will have default text

In my app there is text displayed in a label on screen. I have a share button when pressed brings the UIActivityViewController but when you press the share extensions ex: Twitter, you get the compose view with nothing inside of it. I want it that…
0
votes
0 answers

iOS - Share data(and updates of data) between a specific group of devices using the same app

For a simple example, if an app can display photos and someone takes a new photo, then the other people who have the same app, in the same group(if its possible to group this way) that has been created beforehand, will get the update of the new…
cspam
  • 2,911
  • 2
  • 23
  • 41