tags:

views:

37

answers:

1

Is there a mechanism where I can identify a string in an email, say a order number, and have it route to my iPhone application? I know that base types do this, but not sure if I can create a new type for my app.

Thanks!

+1  A: 

You can add a custom URL type through your app (say orderNum://)

Then, if you include a link in the email, say orderNum://1234567890

if the user clicks it, it will open your app, and you will be able to get the data it sent you.

See the LaunchMe example: http://www.devworld.apple.com/iphone/library/samplecode/LaunchMe/index.html

Emil