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
1
vote
1 answer

iOS Share extension not working on images from photo library

I have built a share extension in Swift 4 and I've been trying to get it to be able to accept images of all types. For some reason, it only seems to be accepting only screenshots when I try sharing from Photo Library. No other images end up…
Shalin Shah
  • 8,145
  • 6
  • 31
  • 44
1
vote
1 answer

iOS Share Extension, get title of shared Item

Does anyone know if it is possible to access the title of a shared item in a share extension. I know that it is possible to get title and some other attributes by JavaScript. The problem is I want to get the title of items shared from the YouTube…
Secondwave
  • 225
  • 1
  • 4
  • 17
1
vote
0 answers

What is the code logic to load local file to app CoreData?

The app uses CloudKit container to sync data to iCloud. I use Share Extension to load local file data to CloudKit container. Now the process to load local file to app is following: Open Share Extension in System File to choose a local file. Load a…
Muz
  • 699
  • 1
  • 11
  • 25
1
vote
0 answers

Can not call CoreData Entity in Share Extension

I have one Entity called Item. import Foundation import CoreData @objc(Item) public class Item: NSManagedObject, Identifiable { ... } I want to call Item in Share Extension like: import UIKit import Social import CoreServices import…
Muz
  • 699
  • 1
  • 11
  • 25
1
vote
0 answers

UNUserNotificationCenter.add not finishing in iOS Share Extension

My iOS app has a share-extension where users can also upload Attachments. As those can be large, the upload is done using an URLSession with URLSessionConfiguration.background. After the upload is done, I'd like to show the user some kind of…
Georg
  • 3,664
  • 3
  • 34
  • 75
1
vote
2 answers

IOS share extension show alert if user is not logged in?

I had added share extension to upload file. But i want to stop open share extension when user is not logged in application and show alert similar like Messenger application from facebook. Facebook messenger app How can i do this Note : I know how to…
SShah
  • 243
  • 2
  • 17
1
vote
1 answer

iOS app Sharing through whatsApp

I am using this code in my app to share a URL to other apps using share extension. NSArray *activityItems = @[adURL]; UIActivityViewController *activityViewControntroller = [[UIActivityViewController alloc] initWithActivityItems:activityItems…
Abdullah Umer
  • 4,234
  • 5
  • 36
  • 65
1
vote
1 answer

iOS share extension URLForResource access file in main app

I need to access a file from my main app in my share extension is that possible? The file is the "bundle" for distribution for a react native iOS app, something like jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main"…
manuelBetancurt
  • 15,428
  • 33
  • 118
  • 216
1
vote
0 answers

swift share extension not sharing amzon item

in my app i integrated share extension. and i am able to get url when i am sharing safari page. but when i go on amazon site or app. and when i am tapping on share option of any product my share extension is not showing. Here is my…
Govind Rakholiya
  • 427
  • 6
  • 24
1
vote
1 answer

How to return error from share extension

if i close my extension with [self.extensionContext cancelRequestWithError:error]; the error is not returned to the app via UIActivityViewController completion blocks activityError [vc setCompletionWithItemsHandler:^(NSString *activityType, BOOL…
Peter Lapisu
  • 19,915
  • 16
  • 123
  • 179
1
vote
1 answer

iOS Swift 3: Share Data from share extension to Host App

Hello i have implemented Share extension for my app in which picks images from gallery and send to a particular view. Now the problem is when i'm trying to save array of images(images picked from gallery) func manageImages() { let content =…
Abhishek Thapliyal
  • 3,497
  • 6
  • 30
  • 69
1
vote
0 answers

How to open Specific View Controller from Share Extension click, Otherwise Store Data into my App Database

I Developed one Chat application in that, I have one ForwardViewController.I Want To Open ForwardViewController from ShareExtension click How can I do that if it is not possible then how can I Store that data into my database, or Any other alternate…
1
vote
0 answers

How to make sure that Facebook always gets on the iOS Share Extension list even if Facebook is not installed on the device

I use iOS Share Extension to share content in my application, but when Facebook is not installed on the device or is turned off, it doesn't get on the list. I would like it to be always on the list, so as my app would send the user to the Facebook…
isak
  • 37
  • 5
1
vote
0 answers

Does aws transfer utility(iOS) provides any provision for initializing shared identifier property for share extension?

I am getting this AWSDomainError =-995 error when I upload image to S3. Now I am solving this by adding the group in pod file in which case I have to unlock it. Is there any configuration method to expose the property?
1
vote
1 answer

My share extension does not show up among the dropbox extensions

I have the following in my extension's plist NSExtension NSExtensionAttributes NSExtensionActivationRule
Anton Tropashko
  • 5,486
  • 5
  • 41
  • 66