noda-sin / LINEActivity

LINEActivity is an iOS 6 UIActivity subclass for LINE.
MIT License
76 stars 27 forks source link

Error: This version of LINE does not support this type of URL #12

Open shivanraptor opened 9 years ago

shivanraptor commented 9 years ago

Using the following codes:

NSArray *appActivities = @[[[LINEActivity alloc] init]];
UIActivityViewController *avc = [[UIActivityViewController alloc] initWithActivityItems:@[anUIImage] applicationActivities:appActivities];
[self presentViewController:avc animated:YES completion:nil];

LINE icon is shown up in UIActivity. Once pressed, it forwards to LINE v5.1.2. Then the following error prompts in LINE:

Error: This version of LINE does not support this type of URL

Please advise. (using iOS 8.3, iPhone 5s)

cwt100 commented 8 years ago

Local document image file can't use NSURL to share.

Error: The selected files include some file types that cannot be shared.

Please advise. (using iOS 9.2, iPhone 6s)