concept Accounts framework in category ios

appears as: Accounts framework, The Accounts framework
iOS 7 in Action

This is an excerpt from Manning's book iOS 7 in Action.

By the end of this chapter you’ll create an app that lets you use both Twitter and Facebook. You’ll see how to request permission for accounts by using the Accounts framework. After having access to these accounts you’ll use each one specifically to create and pull back new updates using the Social framework.

8.1. Accessing accounts with the Accounts framework

Facebook and Twitter accounts added within the Settings app can be accessed programmatically through the Accounts framework. A centralized accounts system within iOS gives people a single place to store their Twitter and Facebook credentials. This means that if all iOS apps used the Accounts framework, you would never have to enter your credentials more than once for either service.

The Accounts framework gives you secure access to authorized accounts, as long as you’re granted permission. All of this is handled for you within the framework. In this section you’ll learn how to find and retrieve accounts as well as access different properties of an account and use them within your own application.