5

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?

1

2 Answers 2

7

Add this to plist screenshot.

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

Sign up to request clarification or add additional context in comments.

1 Comment

Xcode 4 looks completely different! Must I really repeat the bundle identifier for the URL type? It also asks for an Icon and Role.
1

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 Comment

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 !!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.