UIApplication openUrl funktioniert nicht mit formatiertem NSString

Ich habe den folgenden code zum öffnen von google maps:

NSString *urlString = [NSString stringWithFormat:@"http://maps.google.com/maps?q=%@, Anchorage, AK",addressString];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];

Aber es funktioniert nicht und es gibt keine Fehler. Es funktioniert einfach nicht öffnen.

InformationsquelleAutor der Frage agentfll | 2010-03-28

Schreibe einen Kommentar