FAQ Database Discussion Community


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

ios8,ios-app-extension,uti,ios8-share-extension
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? loadItemForTypeIdentifier:options:completionHandler: expects a UTI, I've tried providing an empty...

Use storyboard in share extension

ios,objective-c,ios8,ios8-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 select my application to give share, it...

Share text AND media with WhatApp Share Extension

ios,whatsapp,ios8-share-extension
I'm using a UIActivityViewController to enable the user to share photos and videos created with my app. I attached two UIActivityItemProviders to it: one for the media and one for a default text to use ("Created with..."). This works well for all share extensions I tested—except for WhatsApp. WhatsApp only...

About app extension in the safari

ios,ios8-share-extension
I customize a share extension, I set it on in the safari, it's showed, but when I open the safari next time, it's not showed in the safari menu and the switch of my share extension is on, why ? who can help me, thanks very much!! ...

ios share extension post button title

ios,ios8-share-extension
I want to change the title of post buttons in SLComposeServiceViewController. I managed to get the UIButton: NSArray* subviews =[self.navigationController.navigationBar subviews]; UIButton* postButton =[subviews lastObject]; and i tried to set title like this: [postButton setTitle:@"Save" forState:UIControlStateNormal]; but the title not changed. Can anyone help me with this? I saw Evernote's...

Is it possible to create an iOS 8 sharing extension that opens the website in its app?

ios8,mobile-safari,safari-extension,ios8-extension,ios8-share-extension
I'm building an app, and I was curious if there's a way to open the app when you're on the website through the iOS Safari extension. So, if I'm on a post I'd tap the app icon in the share sheet and I'd pass that to the app to load...

Action Extension Trying to Retrieve a File

ios,ios8-share-extension
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 from Photos the image shows up...

iOS Share Extension that Manipulates a Web Page

ios,swift,ios8-share-extension
I'm trying to figure out how to get my share extension to access a web page and manipulate its contents. I've followed the documentation but I must be missing something because I am not seeing any items conforming to kUTTypePropertyList as I thought I was supposed to. My plist looks...

Share extension - beginRequestWithExtensionContext not called

ios,ios8-share-extension
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 ShareViewController: UIViewController, NSExtensionRequestHandling { // This is called… override func viewDidLoad() { super.viewDidLoad()...

share extension showing only under the more section in UIActivityViewController?

ios,iphone,ipad,ios8-share-extension
I had an application in which i made a share extension.But My point is For the first time it is coming only in the more section of the UIActivityViewController.not coming independently like Facebook or twitter.Can anybody help me on this issue to find out anything missing in my configuration..

How to get bundleId of the source app when using share extension in IOS8

ios,xcode,ios8,ios8-share-extension
I wanna know which app calls the share extension to share image to my app(its bundleId or appName). But I found no way to do it. There is none information about the source app in NSExtensionContext. I would greatly appreciate any help.

App is not showing in the share menu of shared options in shared extension in iOS8

ios,ios8,ios-app-extension,ios8.3,ios8-share-extension
I'm developing share extension for my app. Every thing is fine, but i'm facing one main problem, my app is not in the share menu while sharing from photos app. Below is the plist of my shared extension. It's not showing in the list, below is the screenshot: But when...