In iOS 5, Twitter integration has been built right into the OS. A lot of built-in applications now support Twitter — Safari, Photos, Camera, YouTube, Maps, etc. In order to tweet directly from within all these applications, you first need to set up your Twitter account in the Settings application. Figure 16-12 shows the Twitter item in the Settings application on the iPhone Simulator. Clicking on the Twitter item allows you to sign in to your existing Twitter account, or create a new one if you do not already have an account.
Besides the built-in applications' support for Twitter, you can also integrate Twitter support in your own application. The following Try It Out shows you how easy it is to enable users to tweet directly from your application.
TRY IT OUT: Tweeting Directly from Your Application