I want to scan QR Code in Share Extension, the codes below can run correctly in normal iOS application
AVCaptureDevice *device = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo];
NSError *error;
AVCaptureDeviceInput *input =…
I have added a Share Extension to my iOS app, and have created a custom UI using UIViewController, NOT the default SLComposeServiceViewController. The UI is working, but how do I refer to the files that were chosen to be shared? For instance, if I…
I am developing a share extension for iOS 8 and it seem like i can run javascript code on page to grab some information like markup of the mage
But on the apple document it says that javascript code must be inside a .js file but my javascript code…
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 want to add share extension on Apple's Maps, does anyone know how to do. I try to set NSExtensionAttributes as below but it don't work, my APP doesn't show in the Maps's share sheet.
NSExtensionAttributes
NSExtensionActivationRule
…
Im trying to upload images from the Photo app through Action Extension. I use NSURLSession to upload it in background. Here is the code i use.
var configName = "com.myapp.uploadImage"
var config =…
I'm trying to grab thumbnail image from a website so I can paste it on my custom UIViewController for share extension. I know SLComposeServiceViewController does this for free, but I have to make a customized view controller.
Is there any way to do…
If I don't want the Pinterest app extension to show up in my UIActivityViewController, how can I remove it? Previously I could just add the activity type to the excludedActivityTypes array. That doesn't seem to work with app extensions.
I submitted the iPhone app to AppStore with iOS 8 share extension. It is rejected from AppStore reason is “Share” extension is full screen and not constrained.
I am creating custom UI for extension by extending UIViewController and using Xib. My app…
I now have a working iOS 8 Custom Keyboard to input Chinese, and I am looking for the possibility to use this keyboard with external bluetooth keyboard.
My first question is if anyone has successfully used external keyboard with custom keyboard? I…
My Share extension should accept a maximum of 4 items, images and videos combined.
The extension should not accept other file types like PDFs.
So far this is my activation rule query.
NSExtensionAttributes
…
I have an App and also a Share Extension. Between them I share data via UserDefaults. But it stopped working all of a sudden. Only bools or Strings can now be retrieved inside the Share Extension but when trying to retrieve a Custom Struct it is…
I have an iOS share extension in my react-native app.
I'm using react-native-share-menu to implement it and I'm using a custom RN view for the share dialog as per the component documentation.
My custom share dialog works but as soon as I try to pass…
I'm reading whatsapp documentation and I wonder if there is a basic example of Share Extension implementation using UIActivityViewController as is mentioned in docs.
I've tried instantiate an UIActivityViewController object but I can't find an uti…
I am implementing share extension functionality in iOS app. I am able to use "NSExtensionPrincipalClass" in share extension's Info.plist file. And I have added custom MyViewController i.e.
import UIKit
@objc(MyViewController)
class…