TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2016 |
Maintained by Unclaimed.
CSNLINEOpener provides "LINE it!". Please read the Guidelines before use.
CSNLINEOpener
is simple class that sends text OR image to LINE.app. CSNLINEOpenerActivity
is subclass of UIActivity.
CocoaDocs for more infomation.
if ([CSNLINEOpener canOpenLINE]) {
[CSNLINEOpener openLINEAppWithText:someText];
} else {
[CSNLINEOpener openAppStore];
}
NSArray *applicationActivities = @[[[CSNLINEOpenerActivity alloc] initWithTitle:@"LINEで送る" icon:[UIImage imageNamed:@"icon"]]];
UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[text, icon]
applicationActivities:applicationActivities];
[self presentViewController:activityViewController animated:YES completion:NULL];
CSLINEOpener
overrides existing data in generalPasteboard
when sends image to LINE.app. cause we can't use named pasteboard to pass image from 3rd party application since iOS 7.
pod 'CSNLINEOpener', '~> 0.0'
MIT License