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
2 answers

ios share extension camera

I am trying to take image with camera on share extension. Is it possible to do? Currently, in my main app, I write like this. self.pickerController = [[UIImagePickerController alloc] init]; [self.pickerController…
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
1
vote
2 answers

NSExtension Share Extension limit Photos count

I have developed a Share Extension and import Photos and Notes from Photos and Notes App. I want to limit the count of Photos which can be import to only 10 but for Photos i am able to select unlimited photos. Below is the query from info.plist of…
Arun Gupta
  • 2,628
  • 1
  • 20
  • 37
1
vote
1 answer

Open Container App from Share Extenion

So I've found that the you cannot open URLs (and therefore deeplinks) from Share Extensions in iOS. But I'm wondering if there is any way to open the container app of the extension. For instance, in my app the share extension will only work if you…
julianwyz
  • 3,104
  • 1
  • 29
  • 34
1
vote
2 answers

How to inject share extension' controller into my app?

I have a controller with a share UITabBarButtonItem: Now when I tap on the share button, I need to display sth like this: but with different apps: I need Apps for PDF or TEXT. How to do this? So far I created app group, add share extension to the…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
1
vote
0 answers

func didSelectPost() from share extension don't called

I have add on my app a share extension. It run perfectly and the function didSelectPost() was only called when I use the extension everywhere except in my app. Thank you for your answer.
Betcha
  • 155
  • 3
  • 12
1
vote
1 answer

NSItemProvider loadItemForTypeIdentifier:options:completionHandler: for any kind of (binary) file

I am implementing iOS Share Extension for my app, and I want to be able to get any kind of file into my app extension (e.g. a binary file of any type shared from Dropbox). How can I achieve this behavior?…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
1
vote
0 answers

Is it possible to record audio from app extension in iOS 8?

The link clearly saying that, in iOS8 it is not possible to record audio from app extensions. But the documentary date is 2014-08-14. I'm actually developing an extension for iOS 8.3, trying to record audio in that, but not able to achieve the…
Ashok
  • 5,585
  • 5
  • 52
  • 80
1
vote
1 answer

Share extension - beginRequestWithExtensionContext not called

I've have a share extension for an iOS app that has a custom UI. When running the extension the storyboard is loaded and the UI presented OK, but beginRequestWithExtensionContext isn't called. The (simplified) view controller code: class…
Ashley Mills
  • 50,474
  • 16
  • 129
  • 160
1
vote
2 answers

Open URL scheme from iOS extension

I have this code that return success = NO [self.extensionContext openURL:[NSURL URLWithString:@"URLApp://"] completionHandler:^(BOOL success) { [self.extensionContext completeRequestReturningItems:nil completionHandler:nil]; }]; So and I…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
1
vote
1 answer

iOS 8 share extension show shared image issue

I have a problem with displaying image in my UIImageView. So this is how I get images in ShareViewController: - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; for (NSItemProvider* itemProvider in…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
1
vote
0 answers

Share Extension change view position

I have a share extension that use with SLComposeServiceViewController and I want to change the view position - view frame origin y (to appear on top). Is there a way to do this?
Esti M
  • 193
  • 2
  • 10
1
vote
1 answer

iOS 8 Share extension: is there callback available to know if user quit the host app while the share extension is being presented?

While share extension view controller is being presented (visible), is there callback method that can be implemented in the extension's view controller to know when user presses home button which will cause the host app to resign active? I have…
meiwin
  • 110
  • 8
1
vote
0 answers

Share pdf/webpage from safari into app using share extension in objective c

i have successfully added my app into safari share view (along with Facebook,twitter and other apps) on tapping share button using share extension. But now my question is how can i share content(pdf/webpage data) directly into app. Please help me…
1
vote
1 answer

Use storyboard in share extension

The extension Share when we created it, is automatically created one file called mainInterface.storyboard, which in this case seems to be a kind of custom screen for the share Extension. In my case I changed this screen and to my surprise when I…
LettersBa
  • 747
  • 1
  • 8
  • 27
1
vote
1 answer

Action Extension Trying to Retrieve a File

I'm trying to create an Action Extension in iOS 8. Starting with a new project I created a single view application and added a new target for the Action Extension. The default Action Extension template is configured to display an image. When I share…
Murray Sagal
  • 8,454
  • 4
  • 47
  • 48