Nabeel Thobani
Nabeel Thobani

Reputation: 939

Opening installed application from another iOS application

I trying to find a way for opening an installed application from my iPhone app with a selected image file. An app named "Good Reader" which i want to open from my app. Can anyone suggest the procedure.

Thanks in advance.

Upvotes: 0

Views: 157

Answers (2)

Toseef Khilji
Toseef Khilji

Reputation: 17429

You can only launch apps that have registered a URL scheme. Then just like you open the SMS app by using sms:, you'll be able to open the app using their URL scheme..

NSURL *myURL = [NSURL URLWithString:@"Goodreader://"];
[[UIApplication sharedApplication] openURL:myURL];

check out This tutorial Custom URL Scheme

Upvotes: 1

Sviatoslav Yakymiv
Sviatoslav Yakymiv

Reputation: 7935

You can open URL from your app. I've found that Good Reader app has scheme Goodreader:.

Upvotes: 3

Related Questions