Apple makes it incredibly easy to add social sharing to your app. There are at least two ways to do this.
The first calls on the UIActivityViewController which has some built-in, behind the scenes magic. It is extremely simple and does not use a Framework.
UIActivityViewController will bring up any available sharing mechanism on the users phone. For example when the share button is touched, a view slides up with the available places to share. Mail, Messaging, Print, Photo Album etc. If the user has the Twitter or Facebook app on their phone, those icons will be presented as well.
The second way is using the Framework Social The Social Framework allows you to target specific social outlets supported by the framework.
In Xcode 6 the available outlets are:
SLServiceTypeFacebook;
SLServiceTypeTwitter;
SLServiceTypeSinaWeibo;
SLServiceTypeLinkedIn;
SLServiceTypeTencentWeibo; [Read more…]