iOS 5 has deep twitter integration. How can I check if the user has an account in the built-in twitter app (meaning he uses it), and then do a UIApplication openURL:
to trigger following a user or pre-composing a tweet?
One of the new features for developers in the iOS 5 SDK is support for the Twitter API. Apple has made it easy for developers to add Twitter support to their apps and to allow users to easily control whether or not an app has access to post to their Twitter account.
According to this site it is possible. How's that Twitter Framework called?
Try this:
For the first part of your question...
This is how we're doing it in DETweetComposeViewController.
You could try something like:
This will return false if the app can't open the official Twitter app.
If you just want to create a new Tweet, use the native API