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
51
votes
1 answer

iOS Share vs Action App Extension

I want to implement an app extension, but I can't decide if I should implement it as a Share Extension or Action Extension. The documentation doesn't say much about the differences, just this: Share (iOS and OS X): Post to a sharing website or…
Senseful
  • 86,719
  • 67
  • 308
  • 465
42
votes
10 answers

Share Extension to open containing app

I want to create an Android Style share feature for my app. I created a share extension which gets called when you select pictures inside the stock photo app and press share. Now I want those pictures to be sent to the main app and get handled over…
zanzoken
  • 787
  • 4
  • 12
  • 18
36
votes
7 answers

"This item cannot be shared. Please select a different item." WhatsApp iOS share extension failure message

This bug is fixed by WhatsApp team on 23rd May, 2016 (build no. 2.16.4). Unable to share NSString object using UIActivityViewController to WhatsApp. I tried to share using below code. But once contact is selected from the list, it shows an alert…
santhu
  • 4,796
  • 1
  • 21
  • 29
29
votes
2 answers

iOS 8 Share Extension custom view controller size

I'm building a share extension for my iOS app and I can't use the default SLComposeServiceViewController, so I created (in the storyboard) a basic UIViewController and embedded in a navigation controller. I get to present it, dismiss it etc but it's…
imas145
  • 1,959
  • 1
  • 23
  • 32
26
votes
5 answers

Share between an iOS extension and its containing app with the keychain?

I understand I can share data between my share extension and its containing app by enabling app groups and using NSUserDefaults (see Sharing data between an iOS 8 share extension and main app). However, the data I am storing is sensitive, so I hoped…
Jim Biancolo
  • 804
  • 2
  • 9
  • 14
25
votes
0 answers

iOS 8 share extension and authentication flows

I have an iOS 8 share extension for posting content from a web browser. Users need to be prompted to login if they've never logged in via the containing app. Pinterest appears to support fast-switching to the containing app (I'm assuming they've…
kfateem
  • 323
  • 2
  • 8
22
votes
3 answers

Retrieve google user from ios extension

I am trying to create a share extension for my application which requires to login to Google from the extension. I've setup the sharing group keychain and am able to write from the main application and read the extension target. But I can't login to…
sahara108
  • 2,829
  • 1
  • 22
  • 41
22
votes
4 answers

How to debug an iOS extension (.appex)?

How to make log prints appear in Xcode's lldb debugger from extension?
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
20
votes
2 answers

iOS Share Extension: get URL of page when sharing via context menu in Safari

What I want I'm trying to achieve the following user flow: User is browsing a webpage in iOS Safari. User selects some content (text and images) and waits for context menu to appear. User selects the "Share..." item. User selects my App Extension…
Stas Bichenko
  • 13,013
  • 8
  • 45
  • 83
20
votes
5 answers

Xcode 6 Archiving and get a warning "Skipping copy phase strip ,binary is code signed" when add "share extension" to target

I got this warning when I added share extension to my project and archiving it warning: skipping copy phase strip, binary is code signed: /Users/xxxx/xxx/xxxx/Build/xxxx/Build/Intermediates/ArchiveIntermediates/xxxx/IntermediateBui…
18
votes
2 answers

Code to share file path/file between a share extension and iOS app

I have added a share extension for my app say SAMPLE (already exists on the app store), called lets say SAMPLESHARE. Whenever a user, say takes a picture and tries to share it, I want them to go through a view controller of an Open In functionality,…
Vrashabh Irde
  • 14,129
  • 6
  • 51
  • 103
16
votes
6 answers

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

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…
Ashok
  • 5,585
  • 5
  • 52
  • 80
15
votes
5 answers

How to Just launch app from share extension without post popup in Swift?

I am a begginer in iOS app development and I would like to launch my app on copy link from another app. added shared extension on click it is displaying popup. But my requirement is it should not display popup and directly open my app on click of…
Tushar Lathiya
  • 940
  • 9
  • 26
15
votes
2 answers

How do I get the "Open in Safari" icon to appear when sharing a URL using UIActivityViewController?

I'm struggling to get my application to share a URL properly so that the "Open in Safari" and "Open in Chrome" activity items show up in the share sheet. I've tried sharing the URL a few different ways: NSURL *data =…
Blake
  • 1,168
  • 1
  • 14
  • 15
14
votes
2 answers

UIActivityViewController not showing my custom activity image in the "MORE" list on iOS8

Here's the screenshot: In my subclass of UIActivity, I override the -activityImage method to use my own icon for the facebook share item, but it appears in the share panel but disappears in the MORE list.
njuxjy
  • 415
  • 4
  • 13
1
2 3
18 19