custom URL scheme doesn't work! Navigon AppInteract

Posted by rdesign on Stack Overflow See other posts from Stack Overflow or by rdesign
Published on 2010-05-08T14:56:41Z Indexed on 2010/05/08 14:58 UTC
Read the original article Hit count: 318

Filed under:
|

Hey guys,

It is really frustrating me. I used the doc provided by Navigon itself. Unfortunately it doesn't work as expected. Navigon launches, but stops at the main menu.

All I do is this:

NSString *myTestStr = [NSString stringWithFormat:@"navigon://App|Another place|FRA|75008|PARIS|rue de Turin|17|2.324621|48.881273"];

   NSString *navigonStrEsc = [myTestStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
   NSLog(@"navigonStr: %@", navigonStrEsc);
   [[UIApplication sharedApplication] openURL:[NSURL URLWithString:navigonStrEsc]];

Any ideas what is wrong with my way?

thanks a lot!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about url-scheme