How to open the Twitter App from your own iOS App

Opening the Twitter App is pretty much the same as opening the Facebook App discussed earlier, just the URL scheme is different.

This is how we open Twitter so people can follow the user (me in this case, versluis). If the call is unsuccessful, we’ll try to open the Twitter page in Safari. And if that doesn’t work, we’ll display a log message:

To find out which other apps you can opened, and to figure out what scheme they follow:

To register a Custom URL Scheme in your own app:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.