0

from my opinion, I can pass text, images etc. to the UIActivityViewController and it will show exactly these apps, that can handle the file types I´m passing in. But it isn´t behaving like that! It´s just showing the standard apps Mail, Messages, Twitter, Facebook and Copy. These are not changing at all, regardless of what I´m passing to UIActivityViewController. I read that you have to subclass UIActivity to be able to support other Apps, but this renders the whole concept useless to me, as I have to know, which apps could do what.

Am I the only one that´s frustrated with this? Or am I just doing something wrong?

And to have some code:

NSArray *items = @[@"sometext", @"some longer text", [NSURL urlWithString:@"http://www.apple.com/"]];

controller = [[UIActivityViewController alloc] initWithActivityItems:items applicationActivities:nil];

Expected: to have apps like Evernote, Instagram etc. in the ActivityViewController

Jitendra
  • 5,055
  • 2
  • 22
  • 42
stk
  • 6,311
  • 11
  • 42
  • 58

1 Answers1

0

I think your question is related to this one. It doesn't seem anyone has an answer for either of them. Seems like if you create a UIActivity, you can only use it in your app within your own UIActivityViewController.

Community
  • 1
  • 1
Idles
  • 1,131
  • 5
  • 9