I have creat a new target Share Extension in xcode ,
then I run it on my device.
I don't know why when I run my Share Extension on my devices (iPhone 5c, iPhone 5s, iPhone 6) the won't show.
Pls help me! Any suggestions on how to fix this would be…
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…
I'm currently working with share extension feature.
here when I search lot, seems always using SLComposeServiceViewController to share the image with some text content to particular app.
But I'm expect custom UIViewController class loaded with…
I need to do the following-
I have another app in which i will export the users config(.txt) and contacts(.vcf) in a zip format.
In the second app i have a share extension to get the exported zip and in the share extension, i need to extract the…
I am working on Share Extension
Here is code of info.plist file . this is working fine in Safari, But not in Chrome.
NSExtensionNSExtensionAttributes
…
I am working on iOS 8 extension. I read many manuals and all of them just show how simple add extension to your app, and seems that's enough.
But here are many pitfalls:
After adding your extension you will need to import some of your classes to…
I have a share extension implemented for iOS8. The service uses OAuth to authenticate. The login info I use for the extension is shared with the container app.
The problem is:
When I am in the extension, then app switch to the container app and…
Using Swift5.3.2, iOS13.0,
My Share Extension is working for images and videos.
However it does not work for PDFs.
The problem is that my App is not visible in the list of Share-Apps for a PDF document that I am trying to share with my App.
I know…
Something weird seems to start happening after upgrade to Xcode 12 and iOS 14.
App use to show fine in share menu option before, but suddenly it is acting weirdly and only showing on second attempt onwards.
My aim is to get web page url. Here's my…
The app uses Share Extension to import a string of .txt files to Core Data. And then syncs the Core Data to iCloud. There is an entity called Item. When sharing a new item in system Files through Share Extension, the code needs to calculate the…
I'm trying to get image in the app extension. The problem is I can't get the image when the type is "public.image", however, it succeeds when the type is "public.png". What I want to do is just getting the image and upload to the server.
Here's the…
I am trying to get a resized image of maximum 1080x1080 pixels in my app extension:
NSExtensionItem *item = self.extensionContext.inputItems.firstObject;
NSItemProvider *provider = item.attachments.firstObject;
id imageOptions = @{
…
So I have an app with a share extension each with their own target. The core of the apps' bundle identifier is com.company.app and the share extensions is com.company.app.share. Each have their own entitlements file, with the core apps being App…
Let say, I want to use realm for my share extension, so the question is, can I access Realm in the share target while the containing app is running. It looks like it is impossible but can I have advise from experienced.
Thanks!