Question

this is my first question on the site so if i don't cover anything please let me know and i'll try and fix it :P

I'm trying to make my application load another app from inside the app. An example which i can use to make what I'm trying to do more clear is, I want to load FaceBook from my application without it loading a UIWebView. I would like to do this for Facebook, YouTube, Twitter & Instagram. Also if possible all going to specific areas on the site, so the Facebook profile, YouTube channel, Twitter Page & Instagram profile!

Also I know i would have to write an if statement for it to be, if the user has set application on their device then load in that application else if they don't then load in the web view

Was it helpful?

Solution

You want to use the URL schemes of the other apps. If you know the URL scheme of an app then you can use openUrl: to send a message to another application and bring it to the foreground.

After a quick search you can find some popular app url schemes here along with some examples.

OTHER TIPS

You need to use URL Schemes, this wiki has the major ones listed

http://wiki.akosma.com/IPhone_URL_Schemes

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top