Question

I am trying to use the UIActivityViewController Flickr sharing in iOS 7 but the Flickr icon does not appear in the sharing sheet. I feel like I am missing something basic.

I am testing on an iPhone 5S.
I am logged into a Flickr account on the device.
The same share sheet displays and shares properly with Facebook, Twitter, Email , MMS, and AirDrop.
The photos app on the device displays the Flickr icon in the photos app sharing sheet and can share successfully to the phone Flickr account.
I am sure that I am not listing Flickr in the excluded activities for the UIActivityViewController. I have tried with both standard UIActivityViewController and the RDActivityViewController subclasses.

Is there something additional required for Flickr sharing? or could someone confirm that they have seen this work in their own app.

Thanks

Was it helpful?

Solution

Flickr share with UIActivityViewController will only work if you are sharing a image. So in your array with activity items there should be at least one image.

Make sure that the image is of type UIImage:

NSArray *shareItems = @[someImage, @"Text of the messages"];

UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil];

Exmple of how it looks: https://www.dropbox.com/s/jpjmnuqbktqgb8s/FlickTest.png

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top