Search code examples
objective-cxcodexcode4iphone-4

how to connect or open another aplication with xcode?


now.. I was making a program.. but I want to make the program connected to another application or make an application running in my application.. such as, when people want to sign up to my application, I want to open safari application or make it running in my application? how can I do so? is there anyone help me with a sample code?

Or for example, in yelp, clicking some button will open google map application and point direction from our location to the next

how would I do so?


Solution

  • Depends on your platform. For OSX, NSAppleScript is your solution. It allows you to interact with other scriptable programs like Safari, iTunes, Finder, etc.

    For iPhone, your question has been asked / answered before: Open Google Maps from iPhone and show route