Simple Social Sharing for iOS 7
- Share content to Facebook (Native)
- Share content to twitter (Native)
- Share photo and caption to instagram
- Share photo to LINE App
- ARC only; iOS 7.0+
- Social.framework
- Download the TBSocial repository as a zip file or clone it
- Copy the TBSocial sub-folder into your Xcode project
- Link your app to Social.framework
[TBSocial shareFacebookWithText:shareText andURL:shareURL andImage:shareImage inView:self];
[TBSocial shareTwitterWithText:shareText andURL:shareURL andImage:shareImage inView:self];
if ([TBSocial isInstagramInstalled]) {
// height 612px & width 612px
if ([TBSocial isInstagramImageCorrectSize:shareImage]) {
[TBSocial shareInstagramImageWithCaption:shareCaption andImage:shareImage inView:self.view];
} else {
NSLog(@"Image size is incorrect!");
}
}
// Share Text Only
[TBSocial shareLineText:shareText]
// Share Image Only
[TBSocial shareLineImage:shareImage];