Search code examples
iphoneiosipadtwittersocial-networking

What's the fastest way to implement a "follow us" functionality in iOS 4.0?


I know iOS 5.0 has Twitter integration, but what's the fastest way to implement a "follow us" button in an iOS 4.0 compatible app?

Of course it is not a good idea to simply open a http://... to twitter in Safari because literally all users have their favorite Twitter client installed.

The best solution would be to display a list of installed twitter clients and let the user pick one. Then call openURL: of UIApplication with parameters for that particular client.

Maybe there's a open source framework or library which does just that?


Solution

  • Apps don't know what other apps are installed on a device, so this isn't possible. The best route would be to use a 3rd party Twitter API, such as MGTwitterEngine, to create your own tool that will pop open a UIWebView or a custom control so that a user can follow you.