iOS6から実装されたライブラリSocial.frameworkを使うと 簡単にSNSへシェアができるようになります。 #import <Social/Social.h> 〜略〜 // Facebookシェアボタン設置 UIImage *FBsharebtnimg = [UIImage imageNamed:@"facebook.png"]; FBrepbutton = [[[UIButtonalloc] initWithFrame:CGRectMake(160, 468, 80, 100)] autorelease]; [FBrepbuttonsetBackgroundImage:FBsharebtnimg forState:UIControlStateNormal]; [FBrepbuttonaddTarget:selfaction:@selector(FBshareaction:)
![Objecti-ve-C : Social.frameworkライブラリ - PUBLICROOTS](https://cdn-ak-scissors.b.st-hatena.com/image/square/43217370a99a61d1534edbd0627431ce9f6a7bb8/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fp%2Fpublicroots%2F20140506%2F20140506224613.png)