Like this:

NSString *stringURL = @"appname://";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];

I slightly remember it was necessary to write a value-key to Info.plist. How?

up vote 7 down vote accepted

Add this to plist screenshot.

The app will by called by @"readtext://" url

  • Xcode 4 looks completely different! Must I really repeat the bundle identifier for the URL type? It also asks for an Icon and Role. – openfrog Nov 20 '11 at 13:03

This seems to be the question that I answered (with screenshots & source code) here.

enter image description here

And I've posted a full walkthrough of how to do this on my blog.

  • 1
    thank you, it helped me a lot – The Fonz Aug 7 '14 at 8:40
  • 1
    You're welcome. It's simple, isn't it, once you can see an example ? It turns a two-hour headache into a 5-minute job !! – Mike Gledhill Aug 7 '14 at 11:47

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.