Integration of social sites in an app is very common nowadays. In iOS 6, a new framework is introduced known as Social.framework. The social framework lets us integrate social networking services such as Facebook and Twitter in our application. We don't have to download any SDK or use any API; Social framework handles everything. One class is important for integrating social networking services:
SLComposeViewController class presents a standard view for users to compose tweet or Facebook posts. This class also allows users to share location without any additional code.
The work of the
SLComposeViewController class is to get the Twitter or Facebook screen on our device to enable ...