18
我有以下代碼,打開谷歌地圖:的UIApplication的OpenURL不帶格式的NSString工作
NSString *urlString = [NSString stringWithFormat:@"http://maps.google.com/maps?q=%@, Anchorage, AK",addressString];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];
但它不工作,沒有錯誤。它只是不開放。